From 327879cca38586638bd043db6f37a7ab8cfb744b Mon Sep 17 00:00:00 2001 From: kemboi22 Date: Sun, 29 Dec 2024 02:25:34 +0300 Subject: [PATCH] fix: fixed errors on get configuration --- imageroot/actions/get-configuration/20read | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/imageroot/actions/get-configuration/20read b/imageroot/actions/get-configuration/20read index a384a3d..388aad6 100644 --- a/imageroot/actions/get-configuration/20read +++ b/imageroot/actions/get-configuration/20read @@ -22,18 +22,18 @@ config["host"] = os.getenv("TRAEFIK_HOST","") config["http2https"] = os.getenv("TRAEFIK_HTTP2HTTPS") == "True" config["lets_encrypt"] = os.getenv("TRAEFIK_LETS_ENCRYPT") == "True" -# Dump the configuration to stdout -# json.dump(config, fp=sys.stdout) -if os.path.exists("coolify.env"): - data = agent.read_envfile("coolify.env") - -if os.path.exists("postgres.env"): - data = agent.read_envfile("postgres.env") - -if os.path.exists("redis.env"): - data = agent.read_envfile("redis.env") - -if os.path.exists("soketi.env"): - data = agent.read_envfile("soketi.env") +# # Dump the configuration to stdout +# # json.dump(config, fp=sys.stdout) +# if os.path.exists("coolify.env"): +# data = agent.read_envfile("coolify.env") +# +# if os.path.exists("postgres.env"): +# data = agent.read_envfile("postgres.env") +# +# if os.path.exists("redis.env"): +# data = agent.read_envfile("redis.env") +# +# if os.path.exists("soketi.env"): +# data = agent.read_envfile("soketi.env") json.dump(config, fp=sys.stdout)