-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
{miniogw, testsuite/miniogw}: rm checkBucketError from ListObjects(V2)
checkBucketError calls are no longer necessary in ListObjects/ListObjectsV2 as all code paths lead to a listing that reports bucket errors correctly. Previously, we needed them as we stopped at the prefix-optimized listing, which uses StatObject under the hood, which does not report the error correctly. Listing is now defined as falling back to the exhaustive listing if nothing in the prefix-optimized case was found, which means errors will be reported correctly. Change-Id: I8486d0ef033288fad2fb67f6016c9d8d8383be21
- Loading branch information
Showing
2 changed files
with
6 additions
and
10 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
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