For listobjects ignore resources should be for buckets

master
Harshavardhana 10 years ago
parent 44f43809d7
commit 15e832de64
  1. 2
      pkg/webapi/minioapi/minioapi.go

@ -170,7 +170,7 @@ func (server *minioApi) listBucketsHandler(w http.ResponseWriter, req *http.Requ
}
func (server *minioApi) listObjectsHandler(w http.ResponseWriter, req *http.Request) {
if server.ignoreUnImplementedObjectResources(req) {
if server.ignoreUnImplementedBucketResources(req) {
w.WriteHeader(http.StatusNotImplemented)
return
}

Loading…
Cancel
Save