-
Notifications
You must be signed in to change notification settings - Fork 98
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(package): update gcp-metadata to version 0.6.3 #672
Conversation
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
ae2a2ca
to
1699173
Compare
2214e70
to
d6b2e90
Compare
d8b553f
to
eef3b05
Compare
Codecov Report
@@ Coverage Diff @@
## master #672 +/- ##
==========================================
+ Coverage 90.47% 90.87% +0.39%
==========================================
Files 29 29
Lines 1439 1435 -4
Branches 285 280 -5
==========================================
+ Hits 1302 1304 +2
+ Misses 57 52 -5
+ Partials 80 79 -1
Continue to review full report at Codecov.
|
eef3b05
to
c5681b2
Compare
src/trace-writer.ts
Outdated
cb(null, res.data); // project ID | ||
}) | ||
.catch((err) => { | ||
cb(err); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
test/nocks.ts
Outdated
return nock('http://metadata.google.internal') | ||
.get('/computeMetadata/v1/project/project-id') | ||
.once() | ||
.reply(reply); | ||
.reply(200, reply, {'Metadata-Flavor': 'Google'}); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
"request": "^2.83.0", | ||
"retry-axios": "^0.3.2", |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@@ -15,8 +15,10 @@ | |||
*/ | |||
|
|||
import * as common from '@google-cloud/common'; | |||
import {AxiosError} from 'axios'; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
return; | ||
gcpMetadata.project({property: 'project-id', headers}) | ||
.then((res) => { | ||
cb(null, res.data); // project ID |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
9e66029
to
2a51cab
Compare
2a51cab
to
703ec80
Compare
Closes #689
Closes #697
Closes #682