Project cannot be overridden
execjosh opened this issue · 0 comments
execjosh commented
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
go install
within cloned repo atv1.0.3
- setup a default configuration in
gcloud
that does not have cloud spanner api enabled - try to override project:
wrench --project ...
- error
Context (Environment)
- wrench version: v1.0.3
- go version: go1.14.2