diff --git a/cmd/admin-router.go b/cmd/admin-router.go index 59a585e9b..716e15780 100644 --- a/cmd/admin-router.go +++ b/cmd/admin-router.go @@ -64,7 +64,7 @@ func registerAdminRouter(router *mux.Router, enableConfigOps, enableIAMOps bool) } // Performance command - return performance details based on input type - adminV1Router.Methods(http.MethodGet).Path("/performance").HandlerFunc(httpTraceAll(adminAPI.PerfInfoHandler)).Queries("perfType", "{perfType:.*}").Queries("size", "{size:.*}") + adminV1Router.Methods(http.MethodGet).Path("/performance").HandlerFunc(httpTraceAll(adminAPI.PerfInfoHandler)).Queries("perfType", "{perfType:.*}") // Profiling operations adminV1Router.Methods(http.MethodPost).Path("/profiling/start").HandlerFunc(httpTraceAll(adminAPI.StartProfilingHandler)). diff --git a/cmd/admin-server-info.go b/cmd/admin-server-info.go index 6548fcbe3..f5a67f4ba 100644 --- a/cmd/admin-server-info.go +++ b/cmd/admin-server-info.go @@ -109,5 +109,6 @@ func getLocalDrivesPerf(endpoints EndpointList, size int64, r *http.Request) mad return madmin.ServerDrivesPerfInfo{ Addr: addr, Perf: dps, + Size: size, } }