fix a typo
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user