mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 16:29:21 +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 == "" {
|
if len(statuses) == 0 && podStatus.PodIP == "" {
|
||||||
return nil, ErrNoContainersInPod
|
return nil, ErrNoContainersInPod
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user