mirror of
https://github.com/minio/minio.git
synced 2025-01-23 12:43:16 -05:00
XL: Return the right error (#3944)
This commit is contained in:
parent
13c4ce3617
commit
9f9ba1e984
@ -349,7 +349,7 @@ func (xl xlObjects) listMultipartUploads(bucket, prefix, keyMarker, uploadIDMark
|
||||
}
|
||||
// For any walk error return right away.
|
||||
if walkResult.err != nil {
|
||||
return ListMultipartsInfo{}, err
|
||||
return ListMultipartsInfo{}, walkResult.err
|
||||
}
|
||||
entry := strings.TrimPrefix(walkResult.entry, retainSlash(bucket))
|
||||
// For an entry looking like a directory, store and
|
||||
|
Loading…
x
Reference in New Issue
Block a user