Skip to content

Commit

Permalink
Fix is_empty when disk tier is not None (#2215)
Browse files Browse the repository at this point in the history
fix is empty for disk tier
  • Loading branch information
cblmemo authored Jul 12, 2023
1 parent b0ad93b commit 91a5ae4
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 @@ -902,6 +902,7 @@ def is_empty(self) -> bool:
self.accelerator_args is None,
not self._use_spot_specified,
self.disk_size == _DEFAULT_DISK_SIZE_GB,
self.disk_tier is None,
self._image_id is None,
])

Expand Down

0 comments on commit 91a5ae4

Please sign in to comment.