Revert "check volume directories instead of mounts for cleanupOrphanedPodDirs"

This commit is contained in:
Michelle Au
2020-11-20 09:06:09 -08:00
committed by GitHub
parent 7d72ddca6e
commit 25edb8bc69
4 changed files with 20 additions and 50 deletions

View File

@@ -261,7 +261,7 @@ func TestPodVolumesExistWithMount(t *testing.T) {
}
}
exist := kubelet.podMountedVolumesExistInCacheOrDisk(poduid)
exist := kubelet.podVolumesExist(poduid)
if tc.expected != exist {
t.Errorf("%s failed: expected %t, got %t", name, tc.expected, exist)
}