-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support GCE_METADATA_HOST
#4
Support GCE_METADATA_HOST
#4
Conversation
00e616e
to
c5388f2
Compare
c5388f2
to
dfccc7e
Compare
Thanks for writing the fix, but I would hold off from merging this PR for a couple of reasons
|
@dilipped Where is it documented that Cloud SDK uses |
Regarding Cloud SDK, I didn't check any documentation, but I've seen it being used in the code (it's not in a public repo so can't share any code). It might be the case that it is used only for some specific case, because looks like google-auth (which is used by Cloud SDK) has started using the new var https://github.com/googleapis/google-auth-library-python/blob/e2b3c98cd8c67b702be1b711c06ee7b9bbedb8ba/google/auth/environment_vars.py#L53. |
@dilipped The reason I created this PR was to use the behaviour of the |
Fair enough. I think we can merge it, just going to leave a few nit comments. |
@dilipped This is ready for review again :) |
Looks good. Were you able to run the tests |
@dilipped Yep:
Full output in this gist. |
Thank you!! |
Brings the logic from googleapis/google-auth-library-python#433 to this vendored package.