mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-18 22:55:29 +01:00
test
This commit is contained in:
@@ -301,7 +301,7 @@ def thread_machine_content(machine, machine_content, idx, all_routes):
|
||||
|
||||
for route in pulled_routes["routes"]:
|
||||
# Check if the route has another enabled identical route. This means it's a Route Failover pair:
|
||||
for route_info in all_routes:
|
||||
for route_info in all_routes["routes"]:
|
||||
if str(route_info["prefix"]) == str(route["prefix"]):
|
||||
if route_info["id"] != route["id"]:
|
||||
app.logger.info("HA pair found: %s", str(route["prefix"]))
|
||||
|
||||
Reference in New Issue
Block a user