From 8aaaa46be9f802a024bd946d26832e07bf1ead03 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Wed, 23 Oct 2019 18:54:22 -0700 Subject: [PATCH] Fix typo in prometheus getBucketLocation metrics (#8438) --- 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 3af14ef68..de539691f 100644 --- a/cmd/api-router.go +++ b/cmd/api-router.go @@ -89,7 +89,7 @@ func registerAPIRouter(router *mux.Router, encryptionEnabled, allowSSEKMS bool) /// Bucket operations // GetBucketLocation - bucket.Methods(http.MethodGet).HandlerFunc(collectAPIStats("getobjectlocation", httpTraceAll(api.GetBucketLocationHandler))).Queries("location", "") + bucket.Methods(http.MethodGet).HandlerFunc(collectAPIStats("getbucketlocation", httpTraceAll(api.GetBucketLocationHandler))).Queries("location", "") // GetBucketPolicy bucket.Methods("GET").HandlerFunc(collectAPIStats("getbucketpolicy", httpTraceAll(api.GetBucketPolicyHandler))).Queries("policy", "") // GetBucketLifecycle