From be5cf8273369a154a39074a2125692bda55c23e0 Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Mon, 13 May 2024 14:29:14 +0200 Subject: [PATCH] Update to new klog cmdline options --- test/e2e/e2e_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/e2e/e2e_test.go b/test/e2e/e2e_test.go index 7d36366950..fc1288979f 100644 --- a/test/e2e/e2e_test.go +++ b/test/e2e/e2e_test.go @@ -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" @@ -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)