Normalize volume names

Signed-off-by: aiordache <anca.iordache@docker.com>
This commit is contained in:
aiordache 2020-10-02 14:18:57 +02:00
parent abd6af6386
commit cf906951bf
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ func (b *ecsAPIService) createNFSmountIngress(securityGroups []string, project *
} }
break break
} }
name := fmt.Sprintf("%sNFSMount%s", s.Name, n) name := fmt.Sprintf("%sNFSMount%s", normalizeResourceName(s.Name), n)
template.Resources[name] = &ec2.SecurityGroupIngress{ template.Resources[name] = &ec2.SecurityGroupIngress{
Description: fmt.Sprintf("Allow NFS mount for %s on %s", s.Name, n), Description: fmt.Sprintf("Allow NFS mount for %s on %s", s.Name, n),
GroupId: target, GroupId: target,