Forráskód Böngészése

fix egress migration

abhishek9686 3 hónapja
szülő
commit
aafd0ab0fc
1 módosított fájl, 2 hozzáadás és 2 törlés
  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(),