mirror of
https://github.com/minio/minio.git
synced 2025-02-03 01:46:00 -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.
|
// For any walk error return right away.
|
||||||
if walkResult.err != nil {
|
if walkResult.err != nil {
|
||||||
return ListMultipartsInfo{}, err
|
return ListMultipartsInfo{}, walkResult.err
|
||||||
}
|
}
|
||||||
entry := strings.TrimPrefix(walkResult.entry, retainSlash(bucket))
|
entry := strings.TrimPrefix(walkResult.entry, retainSlash(bucket))
|
||||||
// For an entry looking like a directory, store and
|
// For an entry looking like a directory, store and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user