Skip to content

Commit

Permalink
Update to new klog cmdline options
Browse files Browse the repository at this point in the history
  • Loading branch information
jsafrane committed May 13, 2024
1 parent a5f4501 commit be5cf82
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (

"github.com/onsi/ginkgo/v2"

utilruntime "k8s.io/apimachinery/pkg/util/runtime"
"k8s.io/klog/v2"
"k8s.io/kubernetes/test/e2e/framework"
"k8s.io/kubernetes/test/e2e/framework/config"
Expand All @@ -17,9 +16,7 @@ import (
)

func TestMain(m *testing.M) {
klog.InitFlags(nil)
utilruntime.Must(flag.Set("logtostderr", "false"))
utilruntime.Must(flag.Set("alsologtostderr", "false"))
utilruntime.Must(flag.Set("one_output", "true"))
klog.SetOutput(ginkgo.GinkgoWriter)

Expand Down

0 comments on commit be5cf82

Please sign in to comment.