summaryrefslogtreecommitdiff
path: root/libpod/container_inspect.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-22 14:30:39 -0400
committerGitHub <noreply@github.com>2021-09-22 14:30:39 -0400
commitaa628b82b1c2f04fb3a9a9207bb6d6bddb497fbb (patch)
treede569da7d6e8d0c064de34f56231a860d5d91298 /libpod/container_inspect.go
parent420ff1da921e284b80ac3724408a21bba102a533 (diff)
parentdb44addf973671f3bbe420ebe1a63d01ef39d60c (diff)
downloadpodman-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.go2
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)