Skip to content

Commit c1af824

Browse files
committed
fix imports after rebase
1 parent b0423e0 commit c1af824

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

test/integration/scheduler/nominated_node_name/nominated_node_name_test.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import (
2525
"k8s.io/apimachinery/pkg/runtime"
2626
fwk "k8s.io/kube-scheduler/framework"
2727
"k8s.io/kubernetes/pkg/scheduler"
28-
"k8s.io/kubernetes/pkg/scheduler/framework"
2928
frameworkruntime "k8s.io/kubernetes/pkg/scheduler/framework/runtime"
3029
schedulerutils "k8s.io/kubernetes/test/integration/scheduler"
3130
testutils "k8s.io/kubernetes/test/integration/util"
@@ -93,7 +92,7 @@ func Test_PutNominatedNodeNameInBindingCycle(t *testing.T) {
9392
cancel := make(chan struct{})
9493
tests := []struct {
9594
name string
96-
plugin framework.Plugin
95+
plugin fwk.Plugin
9796
expectNominatedNodeName bool
9897
cleanup func()
9998
}{
@@ -131,13 +130,13 @@ func Test_PutNominatedNodeNameInBindingCycle(t *testing.T) {
131130
defer test.cleanup()
132131
}
133132

134-
pf := func(plugin framework.Plugin) frameworkruntime.PluginFactory {
135-
return func(_ context.Context, _ runtime.Object, fh framework.Handle) (framework.Plugin, error) {
133+
pf := func(plugin fwk.Plugin) frameworkruntime.PluginFactory {
134+
return func(_ context.Context, _ runtime.Object, fh fwk.Handle) (fwk.Plugin, error) {
136135
return plugin, nil
137136
}
138137
}
139138

140-
plugins := []framework.Plugin{&NoNNNPostBindPlugin{cancel: testContext.Ctx.Done(), t: t}}
139+
plugins := []fwk.Plugin{&NoNNNPostBindPlugin{cancel: testContext.Ctx.Done(), t: t}}
141140
if test.plugin != nil {
142141
plugins = append(plugins, test.plugin)
143142
}

0 commit comments

Comments
 (0)