Commit 192825bc authored by Hai Huang's avatar Hai Huang

fix a typo

parent 15f61916
......@@ -370,7 +370,7 @@ func (s *Server) InstallDebuggingHandlers() {
}
}
// Setup pporf handlers.
// Setup pprof handlers.
ws = new(restful.WebService).Path(pprofBasePath)
ws.Route(ws.GET("/{subpath:*}").To(func(req *restful.Request, resp *restful.Response) {
handlePprofEndpoint(req, resp)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment