Storage: Fix Bucket logging configuration using library#6327
Merged
frankyn merged 3 commits intogoogleapis:masterfrom Oct 14, 2019
Merged
Storage: Fix Bucket logging configuration using library#6327frankyn merged 3 commits intogoogleapis:masterfrom
frankyn merged 3 commits intogoogleapis:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6327 +/- ##
============================================
- Coverage 46.85% 46.3% -0.56%
+ Complexity 28120 27924 -196
============================================
Files 2601 2613 +12
Lines 287258 287669 +411
Branches 33359 33739 +380
============================================
- Hits 134595 133199 -1396
- Misses 142429 144263 +1834
+ Partials 10234 10207 -27
Continue to review full report at Codecov.
|
Author
|
@frankyn PTAL. |
frankyn
suggested changes
Oct 1, 2019
| storage.create( | ||
| BucketInfo.newBuilder(logsBucket) | ||
| .setLocation("us") | ||
| .setRetentionPeriod(RETENTION_PERIOD) |
Contributor
There was a problem hiding this comment.
Remove retention period from new bucket.
| .setLocation("us") | ||
| .setRetentionPeriod(RETENTION_PERIOD) | ||
| .build())); | ||
| Acl acl = Acl.of(User.ofAllAuthenticatedUsers(), Role.WRITER); |
frankyn
approved these changes
Oct 10, 2019
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2911