From 55aa20595f830a315a4b153405a7e8a57730d17a Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Thu, 16 May 2019 13:09:21 -0700 Subject: [PATCH] Remove an empty entry being added into XML marshal (#7656) --- cmd/xl-sets.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/xl-sets.go b/cmd/xl-sets.go index 886269d87..c79e453c6 100644 --- a/cmd/xl-sets.go +++ b/cmd/xl-sets.go @@ -944,7 +944,6 @@ func (s *xlSets) ListObjects(ctx context.Context, bucket, prefix, marker, delimi return loi, nil } - loi.Objects = make([]ObjectInfo, len(entries.Files)) loi.IsTruncated = entries.IsTruncated if loi.IsTruncated { loi.NextMarker = entries.Files[len(entries.Files)-1].Name