mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
fix a typo
This commit is contained in:
parent
15f619167d
commit
192825bc5e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user