Move all List calls to honor new maxObjectList limit (#8459)

This commit is contained in:
Harshavardhana
2019-10-30 13:20:01 -07:00
committed by kannappanr
parent 8cc5ecec23
commit 599aae5ba6
6 changed files with 12 additions and 10 deletions

View File

@@ -1620,7 +1620,7 @@ func (s *xlSets) HealObjects(ctx context.Context, bucket, prefix string, healObj
}
}
res, err := s.ListObjectsHeal(ctx, bucket, prefix, marker, "", 1000)
res, err := s.ListObjectsHeal(ctx, bucket, prefix, marker, "", maxObjectList)
if err != nil {
continue
}