mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 13:10:22 +03: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