diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-22 14:30:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-22 14:30:39 -0400 |
commit | aa628b82b1c2f04fb3a9a9207bb6d6bddb497fbb (patch) | |
tree | de569da7d6e8d0c064de34f56231a860d5d91298 /libpod/container_inspect.go | |
parent | 420ff1da921e284b80ac3724408a21bba102a533 (diff) | |
parent | db44addf973671f3bbe420ebe1a63d01ef39d60c (diff) | |
download | podman-aa628b82b1c2f04fb3a9a9207bb6d6bddb497fbb.tar.gz podman-aa628b82b1c2f04fb3a9a9207bb6d6bddb497fbb.tar.bz2 podman-aa628b82b1c2f04fb3a9a9207bb6d6bddb497fbb.zip |
Merge pull request #11689 from Luap99/con-state
sync container state before reading the healthcheck
Diffstat (limited to 'libpod/container_inspect.go')
-rw-r--r-- | libpod/container_inspect.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_inspect.go b/libpod/container_inspect.go index e65c86cef..42d8da52d 100644 --- a/libpod/container_inspect.go +++ b/libpod/container_inspect.go @@ -151,7 +151,7 @@ func (c *Container) getContainerInspectData(size bool, driverData *define.Driver if c.config.HealthCheckConfig != nil { // This container has a healthcheck defined in it; we need to add it's state - healthCheckState, err := c.GetHealthCheckLog() + healthCheckState, err := c.getHealthCheckLog() if err != nil { // An error here is not considered fatal; no health state will be displayed logrus.Error(err) |