For listobjects ignore resources should be for buckets

This commit is contained in:
Harshavardhana 2015-01-24 18:46:23 -08:00
parent 44f43809d7
commit 15e832de64
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }