Skip to content

Commit

Permalink
Fix minute endpoint trailing space issue
Browse files Browse the repository at this point in the history
Reference:
- etcd-io#18445 (comment)

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
Signed-off-by: Ivan Valdes <ivan@vald.es>
  • Loading branch information
henrybear327 committed Aug 16, 2024
1 parent 307e307 commit 2419425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/debugutil/pprof.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 2419425

Please sign in to comment.