From 02f797a23b13585b8fa4b14be952f455c521ea93 Mon Sep 17 00:00:00 2001 From: iternity-dotcom <79988904+iternity-dotcom@users.noreply.github.com> Date: Tue, 6 Apr 2021 18:21:37 +0200 Subject: [PATCH] remove redundant GetBucketLifecycleHandler call (#11982) --- cmd/api-router.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/api-router.go b/cmd/api-router.go index 65565bc32..19790e32b 100644 --- a/cmd/api-router.go +++ b/cmd/api-router.go @@ -343,9 +343,6 @@ func registerAPIRouter(router *mux.Router) { // GetBucketLoggingHandler - this is a dummy call. router.Methods(http.MethodGet).HandlerFunc( collectAPIStats("getbucketlogging", maxClients(httpTraceAll(api.GetBucketLoggingHandler)))).Queries("logging", "") - // GetBucketLifecycleHandler - this is a dummy call. - router.Methods(http.MethodGet).HandlerFunc( - collectAPIStats("getbucketlifecycle", maxClients(httpTraceAll(api.GetBucketLifecycleHandler)))).Queries("lifecycle", "") // GetBucketTaggingHandler router.Methods(http.MethodGet).HandlerFunc( collectAPIStats("getbuckettagging", maxClients(httpTraceAll(api.GetBucketTaggingHandler)))).Queries("tagging", "")