Commit 985ce821 authored by Avesh Agarwal's avatar Avesh Agarwal

Pass clientset's Interface to CreateScheduler.

parent b5fe445d
...@@ -83,7 +83,7 @@ func createClient(s *options.SchedulerServer) (*clientset.Clientset, *kubernetes ...@@ -83,7 +83,7 @@ func createClient(s *options.SchedulerServer) (*clientset.Clientset, *kubernetes
// CreateScheduler encapsulates the entire creation of a runnable scheduler. // CreateScheduler encapsulates the entire creation of a runnable scheduler.
func CreateScheduler( func CreateScheduler(
s *options.SchedulerServer, s *options.SchedulerServer,
kubecli *clientset.Clientset, kubecli clientset.Interface,
nodeInformer coreinformers.NodeInformer, nodeInformer coreinformers.NodeInformer,
podInformer coreinformers.PodInformer, podInformer coreinformers.PodInformer,
pvInformer coreinformers.PersistentVolumeInformer, pvInformer coreinformers.PersistentVolumeInformer,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment