Merge pull request #57 from harshavardhana/pr_out_for_listobjects_ignore_resources_should_be_for_buckets

This commit is contained in:
Harshavardhana 2015-01-24 18:48:11 -08:00
commit 4b586a51cf

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) {
if server.ignoreUnImplementedObjectResources(req) {
if server.ignoreUnImplementedBucketResources(req) {
w.WriteHeader(http.StatusNotImplemented)
return
}