From 3078eaaa06fcde7036e4c4d90f8cc3b7f85e3821 Mon Sep 17 00:00:00 2001 From: Qu Xuan Date: Tue, 26 Nov 2019 20:50:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=81=BF=E5=85=8D=E6=9C=89,Azure?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=AE=89=E5=85=A8=E7=BB=84=E8=A7=84=E5=88=99?= =?UTF-8?q?=E5=87=BA=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/multicloud/azure/securitygroup.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/multicloud/azure/securitygroup.go b/pkg/multicloud/azure/securitygroup.go index af7a457072..9d6d6946c2 100644 --- a/pkg/multicloud/azure/securitygroup.go +++ b/pkg/multicloud/azure/securitygroup.go @@ -414,6 +414,7 @@ func convertSecurityGroupRule(rule secrules.SecurityRule, priority int32) *Secur name = strings.Replace(name, " ", "_", -1) name = strings.Replace(name, "-", "_", -1) name = strings.Replace(name, "/", "_", -1) + name = strings.Replace(name, ",", "_", -1) name = fmt.Sprintf("%s_%d", name, rule.Priority) destRule := SecurityRules{ Name: name,