From c386f2e648ce67419bb2d01ff3325019296ed5fc Mon Sep 17 00:00:00 2001 From: Malar Invention Date: Sun, 12 Jan 2025 15:30:12 +0530 Subject: [PATCH] fix: set default filename --- node_external_ip_controller_async.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node_external_ip_controller_async.py b/node_external_ip_controller_async.py index 1e6bcaf..51a78f9 100644 --- a/node_external_ip_controller_async.py +++ b/node_external_ip_controller_async.py @@ -5,7 +5,7 @@ import os # Configuration import yaml -GATEWAY_SERVICES_FILE = os.getenv("GATEWAY_SERVICES_FILE") +GATEWAY_SERVICES_FILE = os.getenv("GATEWAY_SERVICES_FILE", "gateway_services.yaml") with open(GATEWAY_SERVICES_FILE, "r") as f: gateway_services = yaml.safe_load(f)