debugutil: Remove extra space in trace handler route
debugutil: Remove extra space in trace handler route. To use trace, user needed to escape the extra space and the extra space needs to be removed.
This commit is contained in:
parent
d06d93d5b1
commit
7fc447fb5c
@ -36,7 +36,7 @@ func PProfHandlers() map[string]http.Handler {
|
||||
m[HTTPPrefixPProf+"/profile"] = http.HandlerFunc(pprof.Profile)
|
||||
m[HTTPPrefixPProf+"/symbol"] = http.HandlerFunc(pprof.Symbol)
|
||||
m[HTTPPrefixPProf+"/cmdline"] = http.HandlerFunc(pprof.Cmdline)
|
||||
m[HTTPPrefixPProf+"/trace "] = http.HandlerFunc(pprof.Trace)
|
||||
m[HTTPPrefixPProf+"/trace"] = http.HandlerFunc(pprof.Trace)
|
||||
m[HTTPPrefixPProf+"/heap"] = pprof.Handler("heap")
|
||||
m[HTTPPrefixPProf+"/goroutine"] = pprof.Handler("goroutine")
|
||||
m[HTTPPrefixPProf+"/threadcreate"] = pprof.Handler("threadcreate")
|
||||
|
Loading…
Reference in New Issue
Block a user