Преглед изворни кода

Merge pull request #717 from aiordache/ecs_norm_vol_names

Nicolas De loof пре 5 година
родитељ
комит
4d1af4657a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      ecs/volumes.go

+ 1 - 1
ecs/volumes.go

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