1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

Fix health-startup-cmd (#809)

"--health-startup-command" is a wrong parameter.

the correct syntax is

"--health-startup-cmd"
This commit is contained in:
Holger Hees 2024-08-15 12:56:21 +02:00 committed by GitHub
parent eb46429493
commit 93c1532b04
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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']]