UPSTREAM: 49379: Pass clientset's Interface to CreateScheduler.
@@ -75,7 +75,7 @@ func createClient(s *options.SchedulerServer) (*clientset.Clientset, error) {
// CreateScheduler encapsulates the entire creation of a runnable scheduler.
func CreateScheduler(
s *options.SchedulerServer,
- kubecli *clientset.Clientset,
+ kubecli clientset.Interface,
nodeInformer coreinformers.NodeInformer,
podInformer coreinformers.PodInformer,
pvInformer coreinformers.PersistentVolumeInformer,
