Browse Source

fix egress migration

abhishek9686 3 tháng trước cách đây
mục cha
commit
aafd0ab0fc
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      migrate/migrate.go

+ 2 - 2
migrate/migrate.go

@@ -525,7 +525,7 @@ func migrateToEgressV1() {
 							},
 						},
 
-						AllowedDirection: models.TrafficDirectionUni,
+						AllowedDirection: models.TrafficDirectionBi,
 						Enabled:          true,
 						CreatedBy:        "auto",
 						CreatedAt:        time.Now().UTC(),
@@ -554,7 +554,7 @@ func migrateToEgressV1() {
 							},
 						},
 
-						AllowedDirection: models.TrafficDirectionUni,
+						AllowedDirection: models.TrafficDirectionBi,
 						Enabled:          true,
 						CreatedBy:        "auto",
 						CreatedAt:        time.Now().UTC(),