Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dtdang committed Nov 1, 2024
1 parent 6eaf766 commit 2968393
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions silverback/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,7 @@ def list_clusters(platform: PlatformClient, workspace: str):
raise click.BadOptionUsage("workspace", f"Unknown workspace '{workspace}'")

if clusters := workspace_client.clusters.values():
cluster_info = [
f"- {cluster.name} ({cluster.status})"
for cluster in clusters
]
cluster_info = [f"- {cluster.name} ({cluster.status})" for cluster in clusters]
click.echo("\n".join(cluster_info))

else:
Expand Down

0 comments on commit 2968393

Please sign in to comment.