Start using reason cache in kubelet

This commit is contained in:
Random-Liu
2016-01-12 13:28:00 -08:00
parent 123fec8a72
commit e9dceb36e9
2 changed files with 8 additions and 2 deletions

View File

@@ -148,6 +148,7 @@ func newTestKubelet(t *testing.T) *TestKubelet {
kubelet.containerRuntime = fakeRuntime
kubelet.runtimeCache = kubecontainer.NewFakeRuntimeCache(kubelet.containerRuntime)
kubelet.reasonCache = NewReasonCache()
kubelet.podWorkers = &fakePodWorkers{
syncPodFn: kubelet.syncPod,
runtimeCache: kubelet.runtimeCache,