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

use any service type for migration

abhishek9686 пре 9 месеци
родитељ
комит
087002c832
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      logic/acls.go

+ 1 - 1
logic/acls.go

@@ -23,7 +23,7 @@ func MigrateAclPolicies() {
 	for _, acl := range acls {
 		if acl.Proto.String() == "" {
 			acl.Proto = models.ALL
-			acl.ServiceType = models.Custom
+			acl.ServiceType = models.Any
 			acl.Port = []string{}
 			UpsertAcl(acl)
 		}