Skip to content

Commit

Permalink
Fix all deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonghi committed Jan 26, 2025
1 parent 0db96f6 commit 7f8dfa7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nanosaur/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,8 @@ def deploy_perception(image_name):
'perception': lambda: deploy_perception(args.image_name),
}
if args.all:
workspaces = get_workspaces_path(params)
workspace_actions = {k: v for k, v in workspace_actions.items() if k in workspaces}
print(TerminalFormatter.color_text("Deploying all workspaces", bold=True))
return all(action() for action in workspace_actions.values())
# Get the workspace
Expand Down

0 comments on commit 7f8dfa7

Please sign in to comment.