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

Project cannot be overridden #27

Open
execjosh opened this issue Jun 4, 2020 · 0 comments
Open

Project cannot be overridden #27

execjosh opened this issue Jun 4, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@execjosh
Copy link
Contributor

execjosh commented Jun 4, 2020

Expected Behavior

The value specified by either flag --project or env var SPANNER_PROJECT_ID is used.

Current Behavior

The value of the default configuration in gcloud is used.

This was discovered because the default project I have set does not have Cloud Spanner API enabled.

Steps to Reproduce

  1. go install within cloned repo at v1.0.3
  2. setup a default configuration in gcloud that does not have cloud spanner api enabled
  3. try to override project: wrench --project ...
  4. error

Context (Environment)

  • wrench version: v1.0.3
  • go version: go1.14.2
@execjosh execjosh added the bug Something isn't working label Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant