Skip to content

Commit

Permalink
show all enabled clouds, not just one being currently checked
Browse files Browse the repository at this point in the history
  • Loading branch information
David Tran authored and David Tran committed Apr 3, 2024
1 parent 59977f7 commit 770353b
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions sky/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,8 @@ def check_one_cloud(cloud_tuple: Tuple[str, sky_clouds.Cloud]) -> None:

# Pretty print for UX.
if not quiet:
if len(clouds_set) == 0:
enabled_clouds_for_output = enabled_clouds
else:
enabled_clouds_for_output = [
cloud for cloud in enabled_clouds
if cloud.lower() in clouds_set
]
enabled_clouds_str = '\n :heavy_check_mark: '.join(
[''] + sorted(enabled_clouds_for_output))
[''] + sorted(enabled_clouds))
rich.print('\n[green]:tada: Enabled clouds :tada:'
f'{enabled_clouds_str}[/green]')

Expand Down

0 comments on commit 770353b

Please sign in to comment.