kubelet: Remove GetRecentDockerContainersWithNameAndUUID().

Use the pod status to get the recent stopped containers in
shouldContainerBeRestarted().
This commit is contained in:
Yifan Gu
2015-04-06 09:29:51 -07:00
parent e44ec497ed
commit 6103b144e0
5 changed files with 41 additions and 66 deletions

View File

@@ -81,6 +81,7 @@ func TestRunOnce(t *testing.T) {
nodeLister: testNodeLister{},
statusManager: newStatusManager(nil),
containerRefManager: kubecontainer.NewRefManager(),
readinessManager: kubecontainer.NewReadinessManager(),
}
kb.networkPlugin, _ = network.InitNetworkPlugin([]network.NetworkPlugin{}, "", network.NewFakeHost(nil))