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 at v1.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
Expected Behavior
The value specified by either flag
--projector env varSPANNER_PROJECT_IDis used.Current Behavior
The value of the default configuration in
gcloudis used.This was discovered because the default project I have set does not have Cloud Spanner API enabled.
Steps to Reproduce
go installwithin cloned repo atv1.0.3gcloudthat does not have cloud spanner api enabledwrench --project ...Context (Environment)