From 3a80e1067aa3e1c2ba529d5389e7e78a71935974 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 8 Aug 2026 14:39:12 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20force=20reorder=20=E2=80=94=20all=20defs?= =?UTF-8?q?=20before=20if=20=5F=5Fname=5F=5F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sources/python/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/python/main.py b/sources/python/main.py index 68c0987..2dd2890 100644 --- a/sources/python/main.py +++ b/sources/python/main.py @@ -439,8 +439,6 @@ def start_debug(): finally: print(f"\nRestarting wallarm-{n['name']}...") run(f"docker start wallarm-{n['name']} 2>/dev/null || bash {BASE}/{n['name']}/start.sh", timeout=30) -if __name__ == "__main__": - main() def update_nodes(): @@ -468,3 +466,5 @@ def update_nodes(): str(nc.get("upstream_port","80")), "", nc.get("mode","monitoring")) print(f"✅ {name} updated.") +if __name__ == "__main__": + main()