Browse Source

use any service type for migration

abhishek9686 9 months ago
parent
commit
087002c832
1 changed files with 1 additions and 1 deletions
  1. 1 1
      logic/acls.go

+ 1 - 1
logic/acls.go

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