diff --git a/rest.go b/rest.go index d4bbb9d..ca27925 100644 --- a/rest.go +++ b/rest.go @@ -80,10 +80,10 @@ func registerHttpPprof(s *kratosRest.Server) { s.HandleFunc("/debug/pprof/symbol", pprof.Symbol) s.HandleFunc("/debug/pprof/trace", pprof.Trace) - s.HandleFunc("/debug/allocs", pprof.Handler("allocs").ServeHTTP) - s.HandleFunc("/debug/block", pprof.Handler("block").ServeHTTP) - s.HandleFunc("/debug/goroutine", pprof.Handler("goroutine").ServeHTTP) - s.HandleFunc("/debug/heap", pprof.Handler("heap").ServeHTTP) - s.HandleFunc("/debug/mutex", pprof.Handler("mutex").ServeHTTP) - s.HandleFunc("/debug/threadcreate", pprof.Handler("threadcreate").ServeHTTP) + s.HandleFunc("/debug/pprof/allocs", pprof.Handler("allocs").ServeHTTP) + s.HandleFunc("/debug/pprof/block", pprof.Handler("block").ServeHTTP) + s.HandleFunc("/debug/pprof/goroutine", pprof.Handler("goroutine").ServeHTTP) + s.HandleFunc("/debug/pprof/heap", pprof.Handler("heap").ServeHTTP) + s.HandleFunc("/debug/pprof/mutex", pprof.Handler("mutex").ServeHTTP) + s.HandleFunc("/debug/pprof/threadcreate", pprof.Handler("threadcreate").ServeHTTP) } diff --git a/tag.bat b/tag.bat index 1923aa3..cab68e0 100644 --- a/tag.bat +++ b/tag.bat @@ -1,3 +1,3 @@ -git tag v0.2.19 +git tag v0.2.20 git push origin --tags \ No newline at end of file