Ver Fonte

fix egress migration

abhishek9686 há 3 meses atrás
pai
commit
aafd0ab0fc
1 ficheiros alterados com 2 adições e 2 exclusões
  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(),