Explorar o código

use any service type for migration

abhishek9686 hai 9 meses
pai
achega
087002c832
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
 		}