This commit is contained in:
Asim Aslam
2020-01-29 22:40:43 +00:00
parent 1be8258721
commit 49b86c56e3
8 changed files with 12 additions and 8 deletions

View File

@@ -13,11 +13,11 @@ import (
)
// NewHandler returns an instance of the Debug Handler
func NewHandler(srv server.Server) *Debug {
func NewHandler() *Debug {
return &Debug{
log: log.DefaultLog,
stats: stats.DefaultStats,
trace: srv.Options().Tracer,
trace: trace.DefaultTracer,
}
}