Merge pull request #17471 from yujuhong/fix_rkt

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot 2015-11-19 08:16:58 -08:00
commit 2e82445551

View File

@ -808,6 +808,9 @@ func (r *Runtime) GetPods(all bool) ([]*kubecontainer.Pod, error) {
glog.Warningf("rkt: Cannot construct pod from unit file: %v.", err)
continue
}
for _, c := range pod.Containers {
c.Status = status
}
pods = append(pods, pod)
}
}