api/server fix golint errors/warnings.
Addresses #14756 Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com> Upstream-commit: 351f6b8ec011983d894951769c2116c9feaf81d2 Component: engine
This commit is contained in:
@ -9,7 +9,7 @@ import (
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
func ProfilerSetup(mainRouter *mux.Router, path string) {
|
||||
func profilerSetup(mainRouter *mux.Router, path string) {
|
||||
var r = mainRouter.PathPrefix(path).Subrouter()
|
||||
r.HandleFunc("/vars", expVars)
|
||||
r.HandleFunc("/pprof/", pprof.Index)
|
||||
|
||||
Reference in New Issue
Block a user