Skip to content

Conversation

@spickermann
Copy link
Contributor

Hi there,

this PR removes the unnecessary Invalid value nil for key :endpoint. Setting anyway. warning when the optional env variable BIGQUERY_EMULATOR_HOST (which was introduced in #22866) is not set.

Allowing nil in this case, enables backward compatibility with previous versions which set nil explicitly and thereby triggered falling back to the default configuration without any warning message.

closes: #22896

@conventional-commit-lint-gcf
Copy link

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@spickermann spickermann force-pushed the issue-22896-remove-unnecessary-warning-when-defaulting branch from 8fdd8c2 to efa313b Compare September 7, 2023 09:26
@spickermann spickermann changed the title Bug Fix: Remove warning when optional BIGQUERY_EMULATOR_HOST is not set fix: remove unnecessary warning Sep 7, 2023
@spickermann spickermann changed the title fix: remove unnecessary warning fix(bigquery): remove unnecessary warning Sep 7, 2023
Remove unnecessary warning in the console when optional `BIGQUERY_EMULATOR_HOST` env variable is not set. Restore backward compatibility with the behavior prior PR googleapis#22866
@spickermann spickermann force-pushed the issue-22896-remove-unnecessary-warning-when-defaulting branch from efa313b to 5f7bb6c Compare September 7, 2023 09:28
@dazuma dazuma merged commit 11fdcd0 into googleapis:main Sep 7, 2023
@spickermann spickermann deleted the issue-22896-remove-unnecessary-warning-when-defaulting branch September 7, 2023 18:41
@Capncavedan
Copy link

thank you @spickermann

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unnecessary warning introduced by recent PR

4 participants