diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-08 09:40:22 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-08 09:40:22 +0200 |
| commit | eb14ca0154c191b953c7f5c576065363904c222a (patch) | |
| tree | 58af9ae8ef893bffe85654dbd2ea64e100746a6c | |
| parent | 357aae745adbaa9997f7e80e7e0131e743637f1c (diff) | |
task: pass explicit base context into client runtime (task 381)
| -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() |
