diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-23 11:34:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 11:34:42 -0400 |
commit | e8fc990aadf438e3b138d77b1bb4500cc60a7738 (patch) | |
tree | 641a8b9e92c3a986d38a42068cc092af6b72a736 /libpod/container_inspect.go | |
parent | c2beea695857b71250c87eb9ab799f7773b8d251 (diff) | |
parent | 1199733754b1185d0d2a7a3d832c57565864d0f4 (diff) | |
download | podman-e8fc990aadf438e3b138d77b1bb4500cc60a7738.tar.gz podman-e8fc990aadf438e3b138d77b1bb4500cc60a7738.tar.bz2 podman-e8fc990aadf438e3b138d77b1bb4500cc60a7738.zip |
Merge pull request #11654 from Luap99/health-docker
podman inspect add State.Health field for docker compat
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 09e59bf53..ab79d82d9 100644 --- a/libpod/container_inspect.go +++ b/libpod/container_inspect.go @@ -156,7 +156,7 @@ func (c *Container) getContainerInspectData(size bool, driverData *define.Driver // An error here is not considered fatal; no health state will be displayed logrus.Error(err) } else { - data.State.Healthcheck = healthCheckState + data.State.Health = healthCheckState } } |