From 272b5dd1b2807acac229095d66f4312fe130ff2e Mon Sep 17 00:00:00 2001 From: jayunit100 Date: Thu, 12 Jan 2017 09:32:07 -0500 Subject: [PATCH] Use controller interface for everything in config factory --- plugin/pkg/scheduler/factory/factory.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugin/pkg/scheduler/factory/factory.go b/plugin/pkg/scheduler/factory/factory.go index c5d1080d72f..e3683e40c30 100644 --- a/plugin/pkg/scheduler/factory/factory.go +++ b/plugin/pkg/scheduler/factory/factory.go @@ -80,12 +80,12 @@ type ConfigFactory struct { StopEverything chan struct{} informerFactory informers.SharedInformerFactory - scheduledPodPopulator *cache.Controller - nodePopulator *cache.Controller - pvPopulator *cache.Controller + scheduledPodPopulator cache.ControllerInterface + nodePopulator cache.ControllerInterface + pvPopulator cache.ControllerInterface pvcPopulator cache.ControllerInterface - servicePopulator *cache.Controller - controllerPopulator *cache.Controller + servicePopulator cache.ControllerInterface + controllerPopulator cache.ControllerInterface schedulerCache schedulercache.Cache