Merge pull request #93283 from runzexia/cleanup-unused-container-cache

clean up unused var containerCache
This commit is contained in:
Kubernetes Prow Robot
2020-08-28 06:36:33 -07:00
committed by GitHub
4 changed files with 2 additions and 7 deletions

View File

@@ -650,9 +650,7 @@ func TestRelistIPChange(t *testing.T) {
}
func TestRunningPodAndContainerCount(t *testing.T) {
fakeRuntime := &containertest.FakeRuntime{}
runtimeCache, _ := kubecontainer.NewRuntimeCache(fakeRuntime)
metrics.Register(runtimeCache)
metrics.Register()
testPleg := newTestGenericPLEG()
pleg, runtime := testPleg.pleg, testPleg.runtime