mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-21 01:50:55 +00:00
Add unit tests for scheduler's dynamic event handlers registration
This commit is contained in:
@@ -316,6 +316,11 @@ func New(client clientset.Interface,
|
||||
}
|
||||
|
||||
addAllEventHandlers(sched, informerFactory, dynInformerFactory, unionedGVKs(clusterEventMap))
|
||||
|
||||
if dynInformerFactory != nil {
|
||||
dynInformerFactory.Start(stopEverything)
|
||||
}
|
||||
|
||||
return sched, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user