Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
infwinston committed Dec 10, 2022
1 parent 732298d commit b147c9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sky/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ def is_launchable(self) -> bool:
return self.cloud is not None and self._instance_type is not None

def is_spot_restartable(self) -> bool:
"""Returns whether the resource is restartable after preeemption."""
return self.cloud.is_spot_restartable(self)

def _set_region_zone(self, region: Optional[str],
Expand Down

0 comments on commit b147c9a

Please sign in to comment.