Skip to content

Commit

Permalink
fixed flag param for autorestart
Browse files Browse the repository at this point in the history
  • Loading branch information
drazendee committed Aug 31, 2022
1 parent 28516e0 commit 40b57a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions valohai_cli/commands/execution/run/frontend_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ def run(
f"does not seem valid (it should start with `ssh`)"
)
runtime_config["debug_key"] = key
if autorestart_spot:
runtime_config["autorestart"] = autorestart_spot
if autorestart:
runtime_config["autorestart"] = autorestart

rc = RunCommand(
project=project,
Expand Down

0 comments on commit 40b57a2

Please sign in to comment.