Skip to content

Commit

Permalink
-b option:
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Sep 18, 2024
1 parent 69fc26a commit e4e22cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pioreactor/cli/pio.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ def update_app(
else:
logger.debug(p.stdout)

logger.notice(f"Updated {whoami.get_unit_name()} to version {version_installed}.") # type: ignore
logger.notice(f"Updated Pioreactor app to version {version_installed}.") # type: ignore
# everything work? Let's publish to MQTT. This is a terrible hack, as monitor should do this.
from pioreactor.pubsub import publish

Expand Down Expand Up @@ -599,7 +599,7 @@ def update_firmware(version: Optional[str]) -> None:
# end early
raise click.Abort()

logger.notice(f"Updated Pioreactor firmware to version {version_installed}.") # type: ignore
logger.info(f"Updated Pioreactor firmware to version {version_installed}.") # type: ignore


@update.command(name="ui")
Expand Down Expand Up @@ -661,7 +661,7 @@ def update_ui(branch: Optional[str], repo: str, source: Optional[str], version:
logger.error(p.stderr)
raise exc.BashScriptError(p.stderr)

logger.notice(f"Updated PioreactorUI to version {version_installed}.") # type: ignore
logger.info(f"Updated PioreactorUI to version {version_installed}.") # type: ignore


if whoami.am_I_leader():
Expand Down
1 change: 1 addition & 0 deletions pioreactor/cli/pios.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ def _thread_function(unit: str) -> bool:

@pios.group(invoke_without_command=True)
@click.option("-s", "--source", help="use a release-***.zip already on the workers")
@click.option("-b", "--branch", help="specify a branch in repos")
@which_units
@confirmation
@json_output
Expand Down

0 comments on commit e4e22cf

Please sign in to comment.