mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 18:00:08 +00:00
Pass clientset's Interface to CreateScheduler.
This commit is contained in:
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
Block a user