diff options
author | Milivoje Legenovic <m.legenovic@gmail.com> | 2021-08-03 13:48:07 +0200 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2021-08-10 20:35:12 -0400 |
commit | c836ffe5bce748f215d0649f052df026fc6d8d62 (patch) | |
tree | 975badd6a0dd5a08ed5a321b97995b9309b6cef7 /pkg/ctime | |
parent | 04e59f11d05f34c7cbb38cbc4918b69603e1f5e3 (diff) | |
download | podman-c836ffe5bce748f215d0649f052df026fc6d8d62.tar.gz podman-c836ffe5bce748f215d0649f052df026fc6d8d62.tar.bz2 podman-c836ffe5bce748f215d0649f052df026fc6d8d62.zip |
Compat API: Fix healthcheck status and healthcheck config
Fixes:
- Do not show healthcheck status if not available or if container
status is "created" (Docker behaviour)
- Show healthcheck configuration if present (Config.Healthcheck)
Tests:
- Ensure State.Health is not present if container status is "created"
- Ensure Config.Healthcheck is present and values correct
- Ensure State.Health is present if container started
Signed-off-by: Milivoje Legenovic <m.legenovic@gmail.com>
Diffstat (limited to 'pkg/ctime')
0 files changed, 0 insertions, 0 deletions