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

fix: respect SPANNER_EMULATOR_HOST env var when autoConfigEmulator=true #2730

Merged

Conversation

olavloite
Copy link
Collaborator

The Connection API would always use the default emulator host when autoConfigEmulator=true was set in the connection string. This makes it harder to override the host name for the emulator when you also want the emulator to automatically create the instance and database that you connect to, as the only way to set it is to add it to the connection string.

The Connection API would always use the default emulator host when
autoConfigEmulator=true was set in the connection string. This makes it
harder to override the host name for the emulator when you also want the
emulator to automatically create the instance and database that you
connect to, as the only way to set it is to add it to the connection
string.
@olavloite olavloite requested a review from a team as a code owner November 9, 2023 13:32
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: spanner Issues related to the googleapis/java-spanner API. labels Nov 9, 2023
@gcf-owl-bot gcf-owl-bot bot requested a review from a team as a code owner November 9, 2023 13:34
@olavloite olavloite added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 10, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 10, 2023
@olavloite olavloite merged commit 9c19934 into main Nov 10, 2023
21 checks passed
@olavloite olavloite deleted the respect-emulator-host-env-var-with-auto-config-emulator branch November 10, 2023 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants