From 41a5b3908bb835133c4c7bff74611c2d45fa4a0e Mon Sep 17 00:00:00 2001 From: Krishna Srinivas Date: Sat, 28 May 2016 12:48:58 +0530 Subject: [PATCH] XL/ListParts: take the size from xl.json instead of backend file size as it will be different. (#1781) Fixes #1779 --- xl-v1-multipart.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xl-v1-multipart.go b/xl-v1-multipart.go index 89db86dd2..e49c96bad 100644 --- a/xl-v1-multipart.go +++ b/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 {