Skip to content

Commit

Permalink
show old status in the table
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed Dec 12, 2022
1 parent aa59b5a commit f07629a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sky/backends/backend_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1889,6 +1889,9 @@ def _refresh_cluster(cluster_name):
elif updated_records[i]['status'] == 'UNKNOWN':
failed_clusters.append(
(cluster_names[i], updated_records[i]['error']))
# Keep the original record if the status is unknown,
# so that the user can still see the cluster.
normal_updated_records.append(record)
else:
normal_updated_records.append(updated_records[i])

Expand Down

0 comments on commit f07629a

Please sign in to comment.