Skip to content

Commit

Permalink
refactor(cli): make it so migration step is INFO
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Feb 14, 2025
1 parent 5e7eafe commit 2f8810f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion silverback/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,10 @@ def migrate_cluster(
f"Cannot migrate to version '{version}', must be one of: '{available_versions_str}'",
)

click.echo(f"Migrating '{cluster_path}' from '{cluster.version}' to '{version or 'stable'}'")
click.echo(
f"{click.style('INFO', fg='blue')}: "
f"Migrating '{cluster_path}' from '{cluster.version}' to '{version or 'stable'}'"
)
workspace_client.migrate_cluster(str(cluster.id), version=version)
click.echo(f"{click.style('SUCCESS', fg='green')}: Migration of '{cluster.name}' started")
click.echo(
Expand Down

0 comments on commit 2f8810f

Please sign in to comment.