Improve error handling for '/containerLogs' API in kubelet.

This commit is contained in:
Vishnu Kannan
2015-02-12 01:03:59 +00:00
parent aef5c3410d
commit 922881fcd2
4 changed files with 80 additions and 54 deletions

View File

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