From d8c0cd5fda6882307f5ed7206778f6193aa3114f Mon Sep 17 00:00:00 2001 From: SebClem Date: Thu, 4 Apr 2024 16:55:27 +0200 Subject: [PATCH] Reset loaded data ? --- plugins/action/load_haproxy_config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/action/load_haproxy_config.py b/plugins/action/load_haproxy_config.py index 883fbde..8658d51 100644 --- a/plugins/action/load_haproxy_config.py +++ b/plugins/action/load_haproxy_config.py @@ -198,6 +198,7 @@ class ActionModule(ActionBase): filepath = path.join(root_dir, filename) if not stop_iter and not failed: if path.exists(filepath): + loaded_data = {} failed, err_msg, loaded_data = self._load_files(filepath) if not failed: main_hostname = Path(filepath).stem