diff options
| author | Paul Bütow <pbuetow@mimecast.com> | 2020-01-26 11:26:53 +0000 |
|---|---|---|
| committer | Paul Bütow <pbuetow@mimecast.com> | 2020-02-07 13:31:15 +0000 |
| commit | 0945da8dfefcbb723eecea0e5f4eafff63398253 (patch) | |
| tree | f06dab4d2bf21d25d176b23d5baeca588d27f5d7 /internal/pprof/pprof.go | |
| parent | 2a8e5de265a0e0a31a5834909d6879f5c9941467 (diff) | |
Introduce drun command, refactor code to use context package
Diffstat (limited to 'internal/pprof/pprof.go')
| -rw-r--r-- | internal/pprof/pprof.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/pprof/pprof.go b/internal/pprof/pprof.go index f78bcf6..c6d11ca 100644 --- a/internal/pprof/pprof.go +++ b/internal/pprof/pprof.go @@ -7,9 +7,10 @@ import ( _ "net/http/pprof" "github.com/mimecast/dtail/internal/config" - "github.com/mimecast/dtail/internal/logger" + "github.com/mimecast/dtail/internal/io/logger" ) +// Start the profiler HTTP server. func Start() { bindAddr := fmt.Sprintf("%s:%d", config.Common.PProfBindAddress, config.Common.PProfPort) logger.Info("Starting PProf server", bindAddr) |
