mirror of https://github.com/k3s-io/k3s
Pass clientset's Interface to CreateScheduler.
parent
b5fe445d23
commit
985ce82126
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue