mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-20 09:33:52 +00:00
Merge pull request #104793 from h4ghhh/dynamic_event_handler
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