Skip to content

Commit

Permalink
chore: updating localnet config update log message for --no-update ca…
Browse files Browse the repository at this point in the history
…se (#563)

* chore: updating out of date definitions only if --no-update is False

* chore: refreshing localnet config update message
  • Loading branch information
aorumbayev authored Sep 4, 2024
1 parent 4b4310c commit 14e0559
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/algokit/cli/localnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def reset_localnet(*, update: bool) -> None:
elif sandbox.name == SANDBOX_BASE_NAME:
sandbox.down()
if compose_file_status is not ComposeFileStatus.UP_TO_DATE:
logger.info("LocalNet definition is out of date; updating it to latest")
logger.info("Syncing LocalNet configuration")
sandbox.write_compose_file()
if update:
sandbox.pull()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Cleaning up the running AlgoKit LocalNet...
DEBUG: Running 'docker compose down' in '{app_config}/sandbox'
DEBUG: docker: STDOUT
DEBUG: docker: STDERR
LocalNet definition is out of date; updating it to latest
Syncing LocalNet configuration
DEBUG: Running 'docker image inspect algorand/indexer:latest --format {{range .RepoDigests}}{{println .}}{{end}}' in '{current_working_directory}'
DEBUG: docker: tag@sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/indexer/tags/latest "HTTP/1.1 200 OK"
Expand Down

0 comments on commit 14e0559

Please sign in to comment.