mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 03:08:15 +00:00
kube-scheduler: NewFramework function to pass the context parameter
Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>
This commit is contained in:
@@ -288,7 +288,8 @@ func TestSchedulerWithExtenders(t *testing.T) {
|
||||
cache.AddNode(createNode(name))
|
||||
}
|
||||
fwk, err := st.NewFramework(
|
||||
test.registerPlugins, "", ctx.Done(),
|
||||
ctx,
|
||||
test.registerPlugins, "",
|
||||
runtime.WithClientSet(client),
|
||||
runtime.WithInformerFactory(informerFactory),
|
||||
runtime.WithPodNominator(internalqueue.NewPodNominator(informerFactory.Core().V1().Pods().Lister())),
|
||||
|
||||
Reference in New Issue
Block a user