From 26ca19541df3ce2c0959effe71ad0b6d5215cec9 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 22 Mar 2023 20:42:20 +0900 Subject: [PATCH] test --- renderer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderer.py b/renderer.py index f210ef9..3368171 100644 --- a/renderer.py +++ b/renderer.py @@ -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"]))