Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCP Application Default Credentials config throws Exception #440

Open
spearl opened this issue Apr 8, 2020 · 0 comments
Open

GCP Application Default Credentials config throws Exception #440

spearl opened this issue Apr 8, 2020 · 0 comments

Comments

@spearl
Copy link

spearl commented Apr 8, 2020

If using GCP Application Default Credentials, such as in that section in the README, and you have your user config like the example e.g. user: {auth-provider: {name: gcp}} then a NoMethodError on line 177 is thrown.

This happens because there is no config in the auth provider so the first argument to expand_command_option is nil.

The workaround is simply to set an empty config (config: {}) in the auth-provider, but this method needs to be fixed to avoid throwing an exception.

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

No branches or pull requests

2 participants