mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 05:00:22 +03:00
erasure: Remove prefix based listing support on ListMultipartUploads (#5248)
Previously we have removed this support under FS on #4996, deprecate this on erasure coded backend as well to simplify our multipart support.
This commit is contained in:
@@ -167,6 +167,10 @@ func listMultipartUploadIDs(bucketName, objectName, uploadIDMarker string, count
|
||||
// Read `uploads.json`.
|
||||
uploadsJSON, err := readUploadsJSON(bucketName, objectName, disk)
|
||||
if err != nil {
|
||||
switch errors.Cause(err) {
|
||||
case errFileNotFound, errFileAccessDenied:
|
||||
return nil, true, nil
|
||||
}
|
||||
return nil, false, err
|
||||
}
|
||||
index := 0
|
||||
|
||||
Reference in New Issue
Block a user