mirror of https://github.com/k3s-io/k3s
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
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