Skip to content

Commit 722b0b7

Browse files
committed
- make use of securityGroupNameFormatString
1 parent da74054 commit 722b0b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cloud/services/networking/securitygroups.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,5 +580,5 @@ func convertOSSecGroupRuleToConfigSecGroupRule(osSecGroupRule rules.SecGroupRule
580580

581581
// GetSecurityGroupName Calculate name of securitygroup
582582
func GetSecurityGroupName(clusterName string, suffix string) string {
583-
return fmt.Sprintf("%s-cluster-%s-secgroup-%s", secGroupPrefix, clusterName, suffix)
583+
return fmt.Sprintf(securityGroupNameFormatString, secGroupPrefix, clusterName, suffix)
584584
}

0 commit comments

Comments
 (0)