Skip to content

Commit

Permalink
Use update when getting cached cluster feasible ips
Browse files Browse the repository at this point in the history
  • Loading branch information
Ultramann committed Aug 8, 2024
1 parent 669d432 commit 6b5b5c7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sky/backends/cloud_vm_ray_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -2248,9 +2248,7 @@ def update_cluster_ips(
"""
if cluster_info is not None:
self.cached_cluster_info = cluster_info
use_internal_ips = self._use_internal_ips()
cluster_feasible_ips = self.cached_cluster_info.get_feasible_ips(
use_internal_ips)
cluster_feasible_ips = self.cached_cluster_info.get_feasible_ips()
cluster_internal_ips = self.cached_cluster_info.get_feasible_ips(
force_internal_ips=True)
else:
Expand Down

0 comments on commit 6b5b5c7

Please sign in to comment.