diff options
Diffstat (limited to 'core/setup/pprof.go')
-rw-r--r-- | core/setup/pprof.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/core/setup/pprof.go b/core/setup/pprof.go index cf6b49636..125d2a9ef 100644 --- a/core/setup/pprof.go +++ b/core/setup/pprof.go @@ -29,9 +29,5 @@ func PProf(c *Controller) (middleware.Middleware, error) { c.Startup = append(c.Startup, handler.Start) c.Shutdown = append(c.Shutdown, handler.Shutdown) }) - - return func(next middleware.Handler) middleware.Handler { - handler.Next = next - return handler - }, nil + return nil, nil } |