mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-14 06:15:45 +00:00
Merge pull request #17471 from yujuhong/fix_rkt
Auto commit by PR queue bot
This commit is contained in:
commit
2e82445551
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user