Merge pull request #17083 from zhengguoyong/add_log

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2015-11-12 01:17:43 -08:00

View File

@@ -308,6 +308,7 @@ func podsOnNodes(c *client.Client, podNamespace string, labelSelector labels.Sel
return false, nil
}
if pod.Status.Phase != api.PodRunning {
glog.Infof("Pod %q is not running, status: %v", podString, pod.Status.Phase)
return false, nil
}
}