Skip to content

Commit 5a0bda9

Browse files
FedeDPpoiana
authored andcommitted
chore: do not enforce debug loglevel.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
1 parent 9f0ca29 commit 5a0bda9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cmd/cli_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ import (
77
"bytes"
88
"github.com/falcosecurity/driverkit/pkg/driverbuilder/builder"
99
"github.com/falcosecurity/driverkit/pkg/kernelrelease"
10-
"github.com/falcosecurity/driverkit/validate"
1110
"io"
1211
"io/ioutil"
13-
"log/slog"
1412
"os"
1513
"path/filepath"
1614
"runtime"
@@ -305,7 +303,6 @@ func run(t *testing.T, test testCase) {
305303
c := NewRootCmd()
306304
b := bytes.NewBufferString("")
307305
c.SetOutput(b)
308-
validate.ProgramLevel.Set(slog.LevelDebug)
309306
if len(test.args) == 0 || (test.args[0] != "__complete" && test.args[0] != "__completeNoDesc" && test.args[0] != "help" && test.args[0] != "completion") {
310307
test.args = append(test.args, "--dryrun")
311308
}

0 commit comments

Comments
 (0)