mirror of
https://github.com/minio/minio.git
synced 2025-11-08 21:24:55 -05:00
Adding paging count tests
This commit is contained in:
@@ -95,6 +95,9 @@ func (storage *storage) ListObjects(bucket, prefix string, count int) []mstorage
|
||||
results = append(results, object.metadata)
|
||||
}
|
||||
}
|
||||
if len(results) == count {
|
||||
return results
|
||||
}
|
||||
}
|
||||
return results
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user