Commit 3ad0e22c authored by Yu-Ju Hong's avatar Yu-Ju Hong

Kubelet: allow docker to examine terminated container

Removing the if statement so that docker can continue returning the status of terminated containers.
parent 320df1d2
......@@ -687,9 +687,6 @@ func GetDockerPodStatus(client DockerInterface, manifest api.PodSpec, podFullNam
}
}
if podStatus.PodIP == "" {
return nil, ErrNoPodInfraContainerInPod
}
if len(statuses) == 0 && podStatus.PodIP == "" {
return nil, ErrNoContainersInPod
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment