normalize volume name

Signed-off-by: aiordache <anca.iordache@docker.com>
This commit is contained in:
aiordache 2020-10-02 15:47:26 +02:00
parent ced0eb3912
commit 21f5cf8b40
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", normalizeResourceName(s.Name), n) name := fmt.Sprintf("%sNFSMount%s", normalizeResourceName(s.Name), normalizeResourceName(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,