From 42cf43ca54a805f6d6e83e32375864a55caeb583 Mon Sep 17 00:00:00 2001 From: kemboi22 Date: Fri, 26 Jul 2024 00:13:40 +0300 Subject: [PATCH] fix(restore): changed `TRAEFIK_HTTP2HTTPS` to return bool --- imageroot/actions/restore-module/50traefik | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imageroot/actions/restore-module/50traefik b/imageroot/actions/restore-module/50traefik index a14d8c8..6321b26 100755 --- a/imageroot/actions/restore-module/50traefik +++ b/imageroot/actions/restore-module/50traefik @@ -14,8 +14,8 @@ request = json.load(sys.stdin) renv = request['environment'] configure_retval = agent.tasks.run(agent_id=os.environ['AGENT_ID'], action='configure-module', data={ - "lets_encrypt": renv["TRAEFIK_LETS_ENCRYPT"] == True, + "lets_encrypt": renv["TRAEFIK_LETS_ENCRYPT"] == "True", "host": renv["TRAEFIK_HOST"], - "http2https": renv["TRAEFIK_HTTP2HTTPS"] == True, + "http2https": renv["TRAEFIK_HTTP2HTTPS"] == "True", }) agent.assert_exp(configure_retval['exit_code'] == 0, "The configure-module subtask failed!")