Skip to content

Commit

Permalink
Update sky/data/storage.py
Browse files Browse the repository at this point in the history
Co-authored-by: Tian Xia <[email protected]>
  • Loading branch information
landscapepainter and cblmemo authored May 26, 2024
1 parent f856063 commit 1612af4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sky/data/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -2294,8 +2294,8 @@ def _get_bucket(self) -> Tuple[str, bool]:
storage_account_name=self.storage_account_name,
container_name=self.name)
if container.exists():
is_private = True if container.get_container_properties(
)['public_access'] is None else False
is_private = (True if container.get_container_properties(
)['public_access'] is None else False)
# when user attempts to use private container without
# access rights
if self.resource_group_name is None and is_private:
Expand Down

0 comments on commit 1612af4

Please sign in to comment.