Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JGSweets committed May 2, 2024
1 parent 7719152 commit 1de4b67
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sky/backends/backend_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,8 +799,7 @@ def write_cluster_config(
excluded_clouds = []
remote_identity = skypilot_config.get_nested(
(str(cloud).lower(), 'remote_identity'), 'LOCAL_CREDENTIALS')
if remote_identity is not None and not isinstance(
remote_identity, str):
if remote_identity is not None and not isinstance(remote_identity, str):
for profile in remote_identity:
if fnmatch.fnmatchcase(cluster_name_on_cloud, profile):
remote_identity = remote_identity[profile]
Expand Down

0 comments on commit 1de4b67

Please sign in to comment.