Merge pull request #719 from aiordache/ecs_norm_vol_names

Normalize volume name
This commit is contained in:
Nicolas De loof 2020-10-05 11:14:49 +02:00 committed by GitHub
commit cc81a2546c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,