mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-16 06:32:32 +00:00
Improve error handling for '/containerLogs' API in kubelet.
This commit is contained in:
@@ -513,7 +513,7 @@ func GetDockerPodInfo(client DockerInterface, manifest api.PodSpec, podFullName
|
||||
|
||||
if len(info) < (len(manifest.Containers) + 1) {
|
||||
var containerStatus api.ContainerStatus
|
||||
// Not all containers expected are created, verify if there are
|
||||
// Not all containers expected are created, check if there are
|
||||
// image related issues
|
||||
for _, container := range manifest.Containers {
|
||||
if _, found := info[container.Name]; found {
|
||||
|
Reference in New Issue
Block a user