diff options
author | Stefan Becker <chemobejk@gmail.com> | 2019-07-09 21:14:36 +0300 |
---|---|---|
committer | Stefan Becker <chemobejk@gmail.com> | 2019-07-16 07:01:43 +0300 |
commit | 33001a9028d0ad12d2992dda295fd570714ca237 (patch) | |
tree | 3d488bd3eecc3b0905fa4bb8c60c9a1df55505b8 /cmd/podman/shared/funcs_test.go | |
parent | dd0ea08cefce43b4ca5e468a4bafb909f877cd58 (diff) | |
download | podman-33001a9028d0ad12d2992dda295fd570714ca237.tar.gz podman-33001a9028d0ad12d2992dda295fd570714ca237.tar.bz2 podman-33001a9028d0ad12d2992dda295fd570714ca237.zip |
create: apply defaults on image healthcheck options
If the image doesn't provide any options, e.g. interval, timeout, etc.,
then apply the Docker defaults when creating the container. Otherwise
the defaults will be left 0 and podman doesn't schedule the healtcheck
service & timer for the container or incorrectly reports unhealthy state
when the check is executed.
Fixes #3525
Signed-off-by: Stefan Becker <chemobejk@gmail.com>
Diffstat (limited to 'cmd/podman/shared/funcs_test.go')
0 files changed, 0 insertions, 0 deletions