-
Notifications
You must be signed in to change notification settings - Fork 371
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
Bucket lock samples and tests #418
Bucket lock samples and tests #418
Conversation
samples/bucketLock.js
Outdated
if (metadata.hasOwnProperty('retentionPolicy')) { | ||
const retentionPolicy = metadata.retentionPolicy; | ||
console.log('Retention policy:'); | ||
console.log(`\tperiod: ${retentionPolicy.retentionPeriod}`); |
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.
samples/bucketLock.js
Outdated
}) | ||
.then(results => { | ||
const metadata = results[0]; | ||
if ( |
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.
/cc @jmdobry about @frankyn's question above. RE code coverage, samples aren't included in the coverage report, and aren't required AFAIK, so no worries. |
samples/package.json
Outdated
@@ -22,7 +22,7 @@ | |||
}, | |||
"dependencies": { | |||
"@google-cloud/pubsub": "*", | |||
"@google-cloud/storage": "^2.0.3", | |||
"@google-cloud/storage": "+git", |
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.
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 or co-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 |
CLAs look good, thanks! |
Synced with @JustinBeckwith about the open question @stephenplusplus and it's a no-op. |
* Bucket lock samples and tests * Address feedback * Address lint issues * Revert +git from storage dep version * Fix lint issue and merge issue
* Bucket lock samples and tests * Address feedback * Address lint issues * Revert +git from storage dep version * Fix lint issue and merge issue
* Bucket lock samples and tests * Address feedback * Address lint issues * Revert +git from storage dep version * Fix lint issue and merge issue
Bucket Lock Samples
In collaboration with @billyjacobson.