Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
asaiacai committed Aug 13, 2024
1 parent 5e382b9 commit ff02494
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sky/backends/cloud_vm_ray_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -2325,7 +2325,8 @@ def is_provided_ips_valid(
# Ensure head node is the first element, then sort based on the
# external IPs for stableness. Skip for k8s nodes since pods
# worker ids are already mapped.
if cluster_info is not None and cluster_info.provider_name == 'kubernetes':
if (cluster_info is not None and
cluster_info.provider_name == 'kubernetes'):
stable_internal_external_ips = internal_external_ips
else:
stable_internal_external_ips = [internal_external_ips[0]] + sorted(
Expand Down

0 comments on commit ff02494

Please sign in to comment.