diff --git a/pkg/controller/volume/scheduling/scheduler_binder_test.go b/pkg/controller/volume/scheduling/scheduler_binder_test.go index 4959d159a5d..7ca5082e92c 100644 --- a/pkg/controller/volume/scheduling/scheduler_binder_test.go +++ b/pkg/controller/volume/scheduling/scheduler_binder_test.go @@ -113,6 +113,10 @@ var ( zone1Labels = map[string]string{v1.LabelZoneFailureDomain: "us-east-1", v1.LabelZoneRegion: "us-east-1a"} ) +func init() { + klog.InitFlags(nil) +} + type testEnv struct { client clientset.Interface reactor *pvtesting.VolumeReactor