Skip to content

Commit

Permalink
fix(restore): changed TRAEFIK_HTTP2HTTPS to return bool
Browse files Browse the repository at this point in the history
  • Loading branch information
kemboi22 committed Jul 25, 2024
1 parent 1aacafb commit 42cf43c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imageroot/actions/restore-module/50traefik
Original file line number Diff line number Diff line change
Expand Up @@ -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!")

0 comments on commit 42cf43c

Please sign in to comment.