mirror of
https://github.com/minio/minio.git
synced 2025-03-30 17:23:42 -04:00
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…
x
Reference in New Issue
Block a user