Skip to content

Commit cf3d33a

Browse files
committed
.
1 parent 7515452 commit cf3d33a

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

sky/client/cli/command.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,6 @@ def _get_cluster_records_and_set_ssh_config(
155155
_include_credentials=True,
156156
_summary_response=summary_response)
157157
cluster_records = sdk.stream_and_get(request_id)
158-
if summary_response:
159-
return cluster_records
160158
# Update the SSH config for all clusters
161159
for record in cluster_records:
162160
handle = record['handle']

sky/utils/cli_utils/status_utils.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,6 @@ def _get_resources(cluster_record: _ClusterRecord,
268268
- For K8S/SSH: "Nx (...)"
269269
- "-" if no resource information is available
270270
"""
271-
key = 'resources_str' if truncate else 'resources_str_full'
272-
if key in cluster_record:
273-
return cluster_record[key]
274-
275271
handle = cluster_record['handle']
276272
if isinstance(handle, backends.CloudVmRayResourceHandle):
277273
launched_resources = handle.launched_resources

0 commit comments

Comments
 (0)