diff --git a/cmd/api-router.go b/cmd/api-router.go index 1f46d210b..4ab755b04 100644 --- a/cmd/api-router.go +++ b/cmd/api-router.go @@ -227,7 +227,7 @@ func registerAPIRouter(router *mux.Router) { // HeadObject router.Methods(http.MethodHead).Path("/{object:.+}").HandlerFunc( collectAPIStats("headobject", maxClients(gz(httpTraceAll(api.HeadObjectHandler))))) - // GetObjectAttribytes + // GetObjectAttributes router.Methods(http.MethodGet).Path("/{object:.+}").HandlerFunc( collectAPIStats("getobjectattributes", maxClients(gz(httpTraceHdrs(api.GetObjectAttributesHandler))))).Queries("attributes", "") // CopyObjectPart