Merge pull request #104793 from h4ghhh/dynamic_event_handler

Add unit tests for scheduler's dynamic event handlers registration
This commit is contained in:
Kubernetes Prow Robot
2021-09-14 18:24:40 -07:00
committed by GitHub
3 changed files with 114 additions and 1 deletions

View File

@@ -316,6 +316,11 @@ func New(client clientset.Interface,
}
addAllEventHandlers(sched, informerFactory, dynInformerFactory, unionedGVKs(clusterEventMap))
if dynInformerFactory != nil {
dynInformerFactory.Start(stopEverything)
}
return sched, nil
}