mirror of https://github.com/minio/minio.git
For listobjects ignore resources should be for buckets
This commit is contained in:
parent
44f43809d7
commit
15e832de64
|
@ -170,7 +170,7 @@ func (server *minioApi) listBucketsHandler(w http.ResponseWriter, req *http.Requ
|
||||||
}
|
}
|
||||||
|
|
||||||
func (server *minioApi) listObjectsHandler(w http.ResponseWriter, req *http.Request) {
|
func (server *minioApi) listObjectsHandler(w http.ResponseWriter, req *http.Request) {
|
||||||
if server.ignoreUnImplementedObjectResources(req) {
|
if server.ignoreUnImplementedBucketResources(req) {
|
||||||
w.WriteHeader(http.StatusNotImplemented)
|
w.WriteHeader(http.StatusNotImplemented)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue