forked from TrueCloudLab/frostfs-http-gw
pprof: fix route params
This commit is contained in:
parent
0a55a84863
commit
39e4a770bb
1 changed files with 1 additions and 1 deletions
2
pprof.go
2
pprof.go
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
func attachProfiler(r *router.Router) {
|
||||
r.GET("/debug/pprof/", pprofHandler())
|
||||
r.GET("/debug/pprof/:name/", pprofHandler())
|
||||
r.GET("/debug/pprof/{name}/", pprofHandler())
|
||||
}
|
||||
|
||||
func pprofHandler() fasthttp.RequestHandler {
|
||||
|
|
Loading…
Reference in a new issue