diff --git a/test/integration/scheduler_perf/util.go b/test/integration/scheduler_perf/util.go index 20abd6f584d..13f71a6c1b8 100644 --- a/test/integration/scheduler_perf/util.go +++ b/test/integration/scheduler_perf/util.go @@ -40,7 +40,7 @@ func mustSetupScheduler() (scheduler.Configurator, util.ShutdownFunc) { QPS: 5000.0, Burst: 5000, }) - schedulerConfig, schedulerShutdown := util.StartScheduler(clientSet, true) + schedulerConfig, schedulerShutdown := util.StartScheduler(clientSet) shutdownFunc := func() { schedulerShutdown() diff --git a/test/integration/util/util.go b/test/integration/util/util.go index 9c061091677..705abbfc0c7 100644 --- a/test/integration/util/util.go +++ b/test/integration/util/util.go @@ -58,7 +58,7 @@ func StartApiserver() (string, ShutdownFunc) { // StartScheduler configures and starts a scheduler given a handle to the clientSet interface // and event broadcaster. It returns a handle to the configurator for the running scheduler // and the shutdown function to stop it. -func StartScheduler(clientSet clientset.Interface, enableEquivalenceCache bool) (scheduler.Configurator, ShutdownFunc) { +func StartScheduler(clientSet clientset.Interface) (scheduler.Configurator, ShutdownFunc) { informerFactory := informers.NewSharedInformerFactory(clientSet, 0) evtBroadcaster := record.NewBroadcaster()