@@ -25,7 +25,6 @@ import (
25
25
"k8s.io/apimachinery/pkg/runtime"
26
26
fwk "k8s.io/kube-scheduler/framework"
27
27
"k8s.io/kubernetes/pkg/scheduler"
28
- "k8s.io/kubernetes/pkg/scheduler/framework"
29
28
frameworkruntime "k8s.io/kubernetes/pkg/scheduler/framework/runtime"
30
29
schedulerutils "k8s.io/kubernetes/test/integration/scheduler"
31
30
testutils "k8s.io/kubernetes/test/integration/util"
@@ -93,7 +92,7 @@ func Test_PutNominatedNodeNameInBindingCycle(t *testing.T) {
93
92
cancel := make (chan struct {})
94
93
tests := []struct {
95
94
name string
96
- plugin framework .Plugin
95
+ plugin fwk .Plugin
97
96
expectNominatedNodeName bool
98
97
cleanup func ()
99
98
}{
@@ -131,13 +130,13 @@ func Test_PutNominatedNodeNameInBindingCycle(t *testing.T) {
131
130
defer test .cleanup ()
132
131
}
133
132
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 ) {
136
135
return plugin , nil
137
136
}
138
137
}
139
138
140
- plugins := []framework .Plugin {& NoNNNPostBindPlugin {cancel : testContext .Ctx .Done (), t : t }}
139
+ plugins := []fwk .Plugin {& NoNNNPostBindPlugin {cancel : testContext .Ctx .Done (), t : t }}
141
140
if test .plugin != nil {
142
141
plugins = append (plugins , test .plugin )
143
142
}
0 commit comments