mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Kubelet: allow docker to examine terminated container
Removing the if statement so that docker can continue returning the status of terminated containers.
This commit is contained in:
parent
320df1d2ad
commit
3ad0e22cdd
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user