Skip to content

Handle cases when SDK config file is blank#171

Open
pvthuyen wants to merge 2 commits intopeburrows:masterfrom
pvthuyen:master
Open

Handle cases when SDK config file is blank#171
pvthuyen wants to merge 2 commits intopeburrows:masterfrom
pvthuyen:master

Conversation

@pvthuyen
Copy link

gcloud CLI config file, ~/. config/gcloud/configurations/config_default could be blank if gcloud init is not run yet. In that case, Goth.Config.get_configuration_data/1 still returns an empty map instead of nil so the fallover to fetching from metadata server would not work.

@xfatedky
Copy link

thanks for the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants