Closed ofrobots closed 7 years ago
Working on a better alternative.
Re-opening in light of https://github.com/stephenplusplus/google-auto-auth/pull/25#issuecomment-323485512
You could argue that this validation belongs in gcp-metadata
. That it should return non-error only when response is valid. I think that is semver major for gcp-metadata
, and I would be happy to do this either way. LMK if you want me to open a PR there.
I like that idea-- putting the fix in over in gcp-metadata 👍
Fix from https://github.com/stephenplusplus/gcp-metadata/pull/5 released under google-auto-auth@0.7.2
A missing path doesn't result in an error, but rather it results in a