-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
s3: do not mask failures to retrieve metadata
If a file's metadata is being requested and it cannot be found, this is a real error. We should allow this exception to bubble up, rather than masking it. Some backends (e.g. minio) may provide a `KeyCount` value. If this is present and zero, assume no records are present, and do not look for the `Contents` list.
- Loading branch information
Showing
1 changed file
with
16 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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