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:
Krishna Srinivas 2016-05-28 12:48:58 +05:30 committed by Harshavardhana
parent 3fb0b5e455
commit 41a5b3908b

View File

@ -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 {