Skip to content

Commit

Permalink
chore: do not enforce debug loglevel.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
  • Loading branch information
FedeDP authored and poiana committed Sep 5, 2023
1 parent 9f0ca29 commit 5a0bda9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ import (
"bytes"
"github.com/falcosecurity/driverkit/pkg/driverbuilder/builder"
"github.com/falcosecurity/driverkit/pkg/kernelrelease"
"github.com/falcosecurity/driverkit/validate"
"io"
"io/ioutil"
"log/slog"
"os"
"path/filepath"
"runtime"
Expand Down Expand Up @@ -305,7 +303,6 @@ func run(t *testing.T, test testCase) {
c := NewRootCmd()
b := bytes.NewBufferString("")
c.SetOutput(b)
validate.ProgramLevel.Set(slog.LevelDebug)
if len(test.args) == 0 || (test.args[0] != "__complete" && test.args[0] != "__completeNoDesc" && test.args[0] != "help" && test.args[0] != "completion") {
test.args = append(test.args, "--dryrun")
}
Expand Down

0 comments on commit 5a0bda9

Please sign in to comment.