Skip to content

Commit

Permalink
Fix the cli passing run_only_once instead of only_run_once
Browse files Browse the repository at this point in the history
  • Loading branch information
kiudee committed Jun 27, 2021
1 parent 933cf87 commit 68f7cfb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tune/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ def cli():
"--run-only-once",
default=False,
is_flag=True,
help="Terminate the client after x minutes.",
help="Terminate the client after one job has been completed or no job can be "
"found.",
)
@click.option(
"--skip-benchmark",
Expand Down Expand Up @@ -78,7 +79,7 @@ def run_client(
dbconfig_path=dbconfig,
terminate_after=terminate_after,
clientconfig=clientconfig,
run_only_once=run_only_once,
only_run_once=run_only_once,
skip_benchmark=skip_benchmark,
)
tc.run()
Expand Down

0 comments on commit 68f7cfb

Please sign in to comment.