소스 검색

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)
 		}