Skip to content

Commit

Permalink
print table
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed Dec 12, 2022
1 parent aff8e61 commit fdbd895
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sky/backends/backend_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1888,6 +1888,7 @@ def _refresh_cluster(cluster_name):
table = log_utils.create_table(['Cluster', 'Error'])
for cluster_name, e in failed_clusters:
table.add_row(cluster_name, str(e))
logger.warning([f'\t{row}' for row in str(table).split('\n')])

# Filter out removed clusters.
updated_records = [
Expand Down

0 comments on commit fdbd895

Please sign in to comment.