diff options
| -rw-r--r-- | cmd/dcat/main.go | 3 | ||||
| -rw-r--r-- | cmd/dgrep/main.go | 3 | ||||
| -rw-r--r-- | cmd/dmap/main.go | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/cmd/dcat/main.go b/cmd/dcat/main.go index 013baac..df580c4 100644 --- a/cmd/dcat/main.go +++ b/cmd/dcat/main.go @@ -1,6 +1,7 @@ package main import ( + "context" "flag" "fmt" "os" @@ -56,7 +57,7 @@ func main() { version.PrintAndExit() } - runtime := cli.NewClientRuntime(nil, profileFlags, "dcat") + runtime := cli.NewClientRuntime(context.Background(), profileFlags, "dcat") runtime.StartPProf(pprof) runtime.LogStartupMetrics() diff --git a/cmd/dgrep/main.go b/cmd/dgrep/main.go index 121b576..a36a6ae 100644 --- a/cmd/dgrep/main.go +++ b/cmd/dgrep/main.go @@ -1,6 +1,7 @@ package main import ( + "context" "flag" "fmt" "os" @@ -62,7 +63,7 @@ func main() { version.PrintAndExit() } - runtime := cli.NewClientRuntime(nil, profileFlags, "dgrep") + runtime := cli.NewClientRuntime(context.Background(), profileFlags, "dgrep") if grep != "" { args.RegexStr = grep diff --git a/cmd/dmap/main.go b/cmd/dmap/main.go index ca3981f..33ace65 100644 --- a/cmd/dmap/main.go +++ b/cmd/dmap/main.go @@ -1,6 +1,7 @@ package main import ( + "context" "flag" "os" @@ -62,7 +63,7 @@ func main() { version.PrintAndExit() } - runtime := cli.NewClientRuntime(nil, profileFlags, "dmap") + runtime := cli.NewClientRuntime(context.Background(), profileFlags, "dmap") runtime.StartPProf(pprof) runtime.LogStartupMetrics() |
