mirror of
https://github.com/minio/minio.git
synced 2025-02-26 04:49:16 -05:00
XL/ListParts: take the size from xl.json instead of backend file size as it will be different. (#1781)
Fixes #1779
This commit is contained in:
parent
3fb0b5e455
commit
41a5b3908b
@ -281,7 +281,7 @@ func (xl xlObjects) listObjectPartsCommon(bucket, object, uploadID string, partN
|
||||
PartNumber: part.Number,
|
||||
ETag: part.ETag,
|
||||
LastModified: fi.ModTime,
|
||||
Size: fi.Size,
|
||||
Size: part.Size,
|
||||
})
|
||||
count--
|
||||
if count == 0 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user