Skip to content

Commit

Permalink
echo
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Feb 2, 2021
1 parent d87332d commit b613947
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pioreactor/cli/pio.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def version():
def update():
import subprocess

click.echo("Updating PioreactorApp to latest version.")
cd = "cd ~/pioreactor"
gitp = "git pull origin master"
setup = "sudo python3 setup.py install"
Expand All @@ -88,6 +89,7 @@ def update():
# hack for now: update the UI too:

if am_I_leader():
click.echo("Updating PioreactorUI to latest version.")
cd = "cd ~/pioreactorui"
gitp = "git pull origin master"
setup = "pm2 restart ui"
Expand Down
2 changes: 1 addition & 1 deletion pioreactor/cli/pios.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def _thread_function(unit):
help="specify a hostname, default is all active units",
)
@click.pass_context
def update(ctx, job, units):
def update_settings(ctx, job, units):

exp = get_latest_experiment_name()
extra_args = {ctx.args[i][2:]: ctx.args[i + 1] for i in range(0, len(ctx.args), 2)}
Expand Down

0 comments on commit b613947

Please sign in to comment.