diff options
Diffstat (limited to 'pkg/ps')
-rw-r--r-- | pkg/ps/ps.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/ps/ps.go b/pkg/ps/ps.go index bf3286028..0f154c524 100644 --- a/pkg/ps/ps.go +++ b/pkg/ps/ps.go @@ -241,6 +241,13 @@ func ListContainerBatch(rt *libpod.Runtime, ctr *libpod.Container, opts entities UTS: uts, } } + + if hc, err := ctr.HealthCheckStatus(); err == nil { + ps.Status = hc + } else { + logrus.Debug(err) + } + return ps, nil } |