Skip to content

Commit

Permalink
Don't reset cluster properties if not in local sky db (#1290)
Browse files Browse the repository at this point in the history
  • Loading branch information
carolineechen authored Sep 27, 2024
1 parent 6bf38c0 commit c8f254f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions runhouse/resources/hardware/on_demand_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,11 +442,6 @@ def _populate_connection_from_status_dict(self, cluster_dict: Dict[str, Any]):
pod_name = f"{handle.cluster_name_on_cloud}-head"
self.launched_properties["namespace"] = namespace
self.launched_properties["pod_name"] = pod_name
else:
self.address = None
self._creds = None
self.stable_internal_external_ips = None
self.launched_properties = {}

def _update_from_sky_status(self, dryrun: bool = False):
# Try to get the cluster status from SkyDB
Expand Down

0 comments on commit c8f254f

Please sign in to comment.