Skip to content

Commit

Permalink
fix gosec lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mauri870 committed Oct 7, 2024
1 parent 0f7f948 commit 3b10333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logp/defaults_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func TestDefaultConfigContainer(t *testing.T) {
}

if os.Getenv("TEST_DEFAULT_CONFIG_CONTAINER") != "1" {
cmd := exec.Command(os.Args[0], "-test.run=^TestDefaultConfigContainer$", "-test.v")
cmd := exec.Command(os.Args[0], "-test.run=^TestDefaultConfigContainer$", "-test.v") //nolint:gosec // This is intentionally running a subprocess
cmd.Env = append(cmd.Env, "TEST_DEFAULT_CONFIG_CONTAINER=1")

var stderr bytes.Buffer
Expand Down

0 comments on commit 3b10333

Please sign in to comment.