Skip to content

Commit

Permalink
Fix configuration values in restore-module script
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Jan 16, 2024
1 parent 2031442 commit 283defa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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"],
"host": renv["TRAEFIK_HOST"],
"http2https": renv["TRAEFIK_HTTP2HTTPS"],
"lets_encrypt": renv["TRAEFIK_LETS_ENCRYPT"] == "True",
"host": renv["TRAEFIK_HOST"] ,
"http2https": renv["TRAEFIK_HTTP2HTTPS"] == "True",
})
agent.assert_exp(configure_retval['exit_code'] == 0, "The configure-module subtask failed!")

0 comments on commit 283defa

Please sign in to comment.