Skip to content

Commit

Permalink
fix ScaleJujuStep args
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattrees committed Jul 3, 2024
1 parent 49c011e commit 1b51e85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anvil-python/anvil/provider/local/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@ def join(
)
)

run_plan(plan2, console)
machines = asyncio.run(
jhelper.get_machines(deployment.infrastructure_model)
)
Expand All @@ -459,9 +458,10 @@ def join(
ScaleJujuStep(
controller,
n_machines,
["--to", ",".join([str(x) for x in n_machines.keys()])],
["--to", ",".join(machines.keys())],
)
)
run_plan(plan2, console)

click.echo(f"Node joined cluster with roles: {pretty_roles}")

Expand Down

0 comments on commit 1b51e85

Please sign in to comment.