Merge pull request #84834 from ahg-g/ahg-fwk

Remove Framework dependency on nodeinfo snapshot
This commit is contained in:
Kubernetes Prow Robot
2019-11-07 04:36:29 -08:00
committed by GitHub
19 changed files with 45 additions and 44 deletions

View File

@@ -207,7 +207,7 @@ func TestImageLocalityPriority(t *testing.T) {
state := framework.NewCycleState()
state.Write(migration.PrioritiesStateKey, &migration.PrioritiesStateData{Reference: meta})
fh, _ := framework.NewFramework(nil, nil, nil, framework.WithNodeInfoSnapshot(snapshot))
fh, _ := framework.NewFramework(nil, nil, nil, framework.WithSnapshotSharedLister(snapshot))
p, _ := New(nil, fh)
var gotList framework.NodeScoreList