Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
weih1121 committed Jan 3, 2025
1 parent 346b963 commit d8829ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions sky/backends/backend_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,7 @@ def write_cluster_config(
excluded_clouds.add(cloud_obj)

credentials = sky_check.get_cloud_credential_file_mounts(excluded_clouds)

auth_config = {'ssh_private_key': auth.PRIVATE_SSH_KEY_PATH}
region_name = resources_vars.get('region')

Expand Down
2 changes: 1 addition & 1 deletion sky/backends/cloud_vm_ray_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -2007,7 +2007,7 @@ def provision_with_retries(
enabled_clouds)

if len(expirable_clouds) > 0:
warnings = (f'\n\033[93m Warning: Credentials used for '
warnings = (f'\033[93mWarning: Credentials used for '
f'{expirable_clouds} may expire.Clusters may be '
f'leaked if the credentials expire while jobs '
f'are running.It is recommended to use credentials'
Expand Down

0 comments on commit d8829ba

Please sign in to comment.