-
Notifications
You must be signed in to change notification settings - Fork 133
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
Skip 0-sized blobs when listing storage. Fixes #595. #597
Conversation
c84fdea
to
14ca1dc
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #597 +/- ##
==========================================
- Coverage 80.56% 79.35% -1.21%
==========================================
Files 58 58
Lines 4558 4601 +43
Branches 678 688 +10
==========================================
- Hits 3672 3651 -21
- Misses 860 919 +59
- Partials 26 31 +5
|
14ca1dc
to
29cbd4e
Compare
29cbd4e
to
d951b6e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one non blocking suggestion, otherwise LGTM ✅
SonarCloud Quality Gate failed. 0 Bugs No Coverage information Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Fixes #595.
I'm proposing filtering the 0-sized files one step lower than the issue suggests. Doing the filter in list_backups() would need more changes around the codebase, for example in the functions dealing with validating the backup. This way I only had to patch the local and abstract storage list_objects().