Kubelet: allow docker to examine terminated container

Removing the if statement so that docker can continue returning the status of
terminated containers.
pull/6/head
Yu-Ju Hong 2015-03-27 18:04:50 -07:00
parent 320df1d2ad
commit 3ad0e22cdd
1 changed files with 0 additions and 3 deletions

View File

@ -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
}