fix a typo

This commit is contained in:
Hai Huang 2016-09-16 09:42:29 -04:00
parent 15f619167d
commit 192825bc5e

View File

@ -370,7 +370,7 @@ func (s *Server) InstallDebuggingHandlers() {
} }
} }
// Setup pporf handlers. // Setup pprof handlers.
ws = new(restful.WebService).Path(pprofBasePath) ws = new(restful.WebService).Path(pprofBasePath)
ws.Route(ws.GET("/{subpath:*}").To(func(req *restful.Request, resp *restful.Response) { ws.Route(ws.GET("/{subpath:*}").To(func(req *restful.Request, resp *restful.Response) {
handlePprofEndpoint(req, resp) handlePprofEndpoint(req, resp)