Commit 3fc7c1f
committed
Fix golangci-lint noctx error
pkg/logs/logs_test.go:270:23: os/exec.Command must not be called. use os/exec.CommandContext (noctx)
cmd := exec.Command(os.Args[0], "-test.run=^TestLogs$", "-test.v")
Signed-off-by: Richard Wall <[email protected]>1 parent f56afe2 commit 3fc7c1f
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
| 271 | + | |
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
| |||
0 commit comments