mirror of
https://github.com/minio/minio.git
synced 2025-11-25 20:16:10 -05:00
Add deadcode code which recursivley goes into all directories and verifies dangling variables.
This commit is contained in:
@@ -40,6 +40,10 @@ func (server *minioApi) listObjectsHandler(w http.ResponseWriter, req *http.Requ
|
||||
return
|
||||
}
|
||||
|
||||
if resources.Maxkeys == 0 {
|
||||
resources.Maxkeys = maxObjectList
|
||||
}
|
||||
|
||||
acceptsContentType := getContentType(req)
|
||||
objects, resources, err := server.storage.ListObjects(bucket, resources)
|
||||
switch err := err.(type) {
|
||||
|
||||
Reference in New Issue
Block a user