mirror of
https://github.com/minio/minio.git
synced 2024-12-25 14:45:54 -05:00
Remove an empty entry being added into XML marshal (#7656)
This commit is contained in:
parent
707ed2b302
commit
55aa20595f
@ -944,7 +944,6 @@ func (s *xlSets) ListObjects(ctx context.Context, bucket, prefix, marker, delimi
|
|||||||
return loi, nil
|
return loi, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
loi.Objects = make([]ObjectInfo, len(entries.Files))
|
|
||||||
loi.IsTruncated = entries.IsTruncated
|
loi.IsTruncated = entries.IsTruncated
|
||||||
if loi.IsTruncated {
|
if loi.IsTruncated {
|
||||||
loi.NextMarker = entries.Files[len(entries.Files)-1].Name
|
loi.NextMarker = entries.Files[len(entries.Files)-1].Name
|
||||||
|
Loading…
Reference in New Issue
Block a user