change kubelte nodeInfo to nodeLister

This commit is contained in:
Alex Wang
2019-10-24 22:46:59 +08:00
parent d5cdc097d9
commit b1a3fb4988
6 changed files with 31 additions and 43 deletions

View File

@@ -75,7 +75,7 @@ func TestRunOnce(t *testing.T) {
rootDirectory: basePath,
recorder: &record.FakeRecorder{},
cadvisor: cadvisor,
nodeInfo: testNodeInfo{},
nodeLister: testNodeLister{},
statusManager: status.NewManager(nil, podManager, &statustest.FakePodDeletionSafetyProvider{}),
podManager: podManager,
os: &containertest.FakeOS{},