mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 13:40:22 +03:00
Remove an empty entry being added into XML marshal (#7656)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user