Skip to content

Commit

Permalink
remove legacy_credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
zpoint committed Jan 2, 2025
1 parent 30548d0 commit 5357036
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sky/clouds/gcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@
echo "source ~/google-cloud-sdk/path.bash.inc > /dev/null 2>&1" >> ~/.bashrc && \
source ~/google-cloud-sdk/path.bash.inc >> {_GCLOUD_INSTALLATION_LOG} 2>&1; }}; }}; \
[[ -z "$GOOGLE_APPLICATION_CREDENTIALS" && -f ~/.config/gcloud/application_default_credentials.json ]] && \
export GOOGLE_APPLICATION_CREDENTIALS=~/.config/gcloud/application_default_credentials.json; \
export GOOGLE_APPLICATION_CREDENTIALS=~/.config/gcloud/application_default_credentials.json;&& \
[[ -d ~/.config/gcloud/legacy_credentials/ ]] && rm -rf ~/.config/gcloud/legacy_credentials/; \
popd &>/dev/null'

# TODO(zhwu): Move the default AMI size to the catalog instead.
Expand Down

0 comments on commit 5357036

Please sign in to comment.