From 9b5dd5efc1893c7474d29174b2976ca56d0c93f5 Mon Sep 17 00:00:00 2001 From: Holger Hees Date: Wed, 31 Jul 2024 08:57:03 +0200 Subject: [PATCH] Fix health-startup-cmd "--health-startup-command" is a wrong parameter. the correct syntax is "--health-startup-cmd" --- plugins/module_utils/podman/podman_container_lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/module_utils/podman/podman_container_lib.py b/plugins/module_utils/podman/podman_container_lib.py index febc19ef..f4c7a337 100644 --- a/plugins/module_utils/podman/podman_container_lib.py +++ b/plugins/module_utils/podman/podman_container_lib.py @@ -528,7 +528,7 @@ def addparam_healthcheck_start_period(self, c): self.params['healthcheck_start_period']] def addparam_health_startup_cmd(self, c): - return c + ['--health-startup-command', self.params['health_startup_cmd']] + return c + ['--health-startup-cmd', self.params['health_startup_cmd']] def addparam_health_startup_interval(self, c): return c + ['--health-startup-interval', self.params['health_startup_interval']]