From 93c1532b04b0b70bd7be1df10f35e492db62aefc Mon Sep 17 00:00:00 2001 From: Holger Hees Date: Thu, 15 Aug 2024 12:56:21 +0200 Subject: [PATCH] Fix health-startup-cmd (#809) "--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 febc19e..f4c7a33 100644 --- a/plugins/module_utils/podman/podman_container_lib.py +++ b/plugins/module_utils/podman/podman_container_lib.py @@ -528,7 +528,7 @@ class PodmanModuleParams: 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']]