XL/ListParts: take the size from xl.json instead of backend file size as it will be different. (#1781)

Fixes #1779
master
Krishna Srinivas 9 years ago committed by Harshavardhana
parent 3fb0b5e455
commit 41a5b3908b
  1. 2
      xl-v1-multipart.go

@ -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…
Cancel
Save