goth icon indicating copy to clipboard operation
goth copied to clipboard

Handle cases when SDK config file is blank

Open pvthuyen opened this issue 10 months ago • 1 comments

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.

pvthuyen avatar Apr 19 '24 08:04 pvthuyen