Move pod related functions file in test/e2e/framework/util.go to its sub direcotry

This commit is contained in:
WanLinghao
2019-07-29 17:11:34 +08:00
parent bd6eaa5e7f
commit e43572f02b
10 changed files with 70 additions and 36 deletions

View File

@@ -287,7 +287,7 @@ func verifyCPULimits(expected e2ekubelet.ContainersCPUSummary, actual e2ekubelet
func logPods(c clientset.Interface) {
nodeName := framework.TestContext.NodeName
podList, err := framework.GetKubeletRunningPods(c, nodeName)
podList, err := e2ekubelet.GetKubeletRunningPods(c, nodeName)
if err != nil {
e2elog.Logf("Unable to retrieve kubelet pods for node %v", nodeName)
}