fix: missing CopyObjectPart maxClients reorder

master
Harshavardhana 4 years ago
parent ae731d232f
commit aa85af4d1a
  1. 2
      cmd/api-router.go

@ -112,7 +112,7 @@ func registerAPIRouter(router *mux.Router) {
// CopyObjectPart
bucket.Methods(http.MethodPut).Path("/{object:.+}").
HeadersRegexp(xhttp.AmzCopySource, ".*?(\\/|%2F).*?").
HandlerFunc(maxClients(collectAPIStats("copyobjectpart", httpTraceAll(api.CopyObjectPartHandler)))).
HandlerFunc(collectAPIStats("copyobjectpart", maxClients(httpTraceAll(api.CopyObjectPartHandler)))).
Queries("partNumber", "{partNumber:[0-9]+}", "uploadId", "{uploadId:.*}")
// PutObjectPart
bucket.Methods(http.MethodPut).Path("/{object:.+}").HandlerFunc(

Loading…
Cancel
Save