Skip to content

Commit

Permalink
Set controller runtime logger for testrunner (#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikKahl authored Mar 8, 2024
1 parent 86122f3 commit 2e2112d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/testrunner/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"os"

"github.com/spf13/cobra"
ctrl "sigs.k8s.io/controller-runtime"

"github.com/gardener/test-infra/cmd/testrunner/cmd/alert"
collectcmd "github.com/gardener/test-infra/cmd/testrunner/cmd/collect"
Expand All @@ -29,6 +30,7 @@ var rootCmd = &cobra.Command{
return err
}
logger.SetLogger(log)
ctrl.SetLogger(log)
return nil
},
}
Expand Down

0 comments on commit 2e2112d

Please sign in to comment.