-
Notifications
You must be signed in to change notification settings - Fork 932
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable metadata service detection in the emulator. (#6860)
* Disable metadata service detection in the emulator. Fix for #6765. The latest version of google-gax attempts to read from the metadata server (on an internal IP address). Setting the environment variable METADATA_SERVER_DETECTION=none by default will turn this behavior off. This is overridable with .env.local. * changelog
- Loading branch information
Showing
2 changed files
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Inject an environment variable in the node functions emulator to tell the google-gax SDK not to look for the metadata service. (#6860) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters