From 6a8d0fb9558bc671a4039b0acd402a1383b4f151 Mon Sep 17 00:00:00 2001 From: MoonJustry Date: Tue, 24 Aug 2021 22:14:34 +0800 Subject: [PATCH] fix(Router): typo: completemutipartupload to completemultipartupload (#13051) --- cmd/api-router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/api-router.go b/cmd/api-router.go index 06bf91c4a..920cac177 100644 --- a/cmd/api-router.go +++ b/cmd/api-router.go @@ -241,7 +241,7 @@ func registerAPIRouter(router *mux.Router) { collectAPIStats("listobjectparts", maxClients(gz(httpTraceAll(api.ListObjectPartsHandler))))).Queries("uploadId", "{uploadId:.*}") // CompleteMultipartUpload router.Methods(http.MethodPost).Path("/{object:.+}").HandlerFunc( - collectAPIStats("completemutipartupload", maxClients(gz(httpTraceAll(api.CompleteMultipartUploadHandler))))).Queries("uploadId", "{uploadId:.*}") + collectAPIStats("completemultipartupload", maxClients(gz(httpTraceAll(api.CompleteMultipartUploadHandler))))).Queries("uploadId", "{uploadId:.*}") // NewMultipartUpload router.Methods(http.MethodPost).Path("/{object:.+}").HandlerFunc( collectAPIStats("newmultipartupload", maxClients(gz(httpTraceAll(api.NewMultipartUploadHandler))))).Queries("uploads", "")