diff options
author | Stefan Becker <chemobejk@gmail.com> | 2019-07-09 20:19:20 +0300 |
---|---|---|
committer | Stefan Becker <chemobejk@gmail.com> | 2019-07-16 07:01:43 +0300 |
commit | dd0ea08cefce43b4ca5e468a4bafb909f877cd58 (patch) | |
tree | 9ccc7b47c2efd9a1a60032f1e7673fcc0275d4db /cmd/podman/shared | |
parent | d2291ecdd514befd18a8b57ff2c7a8ef0cf04ba8 (diff) | |
download | podman-dd0ea08cefce43b4ca5e468a4bafb909f877cd58.tar.gz podman-dd0ea08cefce43b4ca5e468a4bafb909f877cd58.tar.bz2 podman-dd0ea08cefce43b4ca5e468a4bafb909f877cd58.zip |
healthcheck: improve command list parser
- remove duplicate check, already called in HealthCheck()
- reject zero-length command list and empty command string as errorneous
- support all Docker command list keywords: NONE, CMD or CMD-SHELL
- use Docker default "/bin/sh -c" for CMD-SHELL
Fixes #3507
Signed-off-by: Stefan Becker <chemobejk@gmail.com>
Diffstat (limited to 'cmd/podman/shared')
0 files changed, 0 insertions, 0 deletions