mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-04-16 17:26:28 +00:00
fix(docker_swarm_service): Fix typo in version check
This commit is contained in:
parent
e8197355ad
commit
f84cb60eb5
@ -2761,7 +2761,7 @@ def main():
|
||||
mode=dict(
|
||||
docker_py_version='6.0.0',
|
||||
docker_api_version='1.41',
|
||||
detect_usage=lambda c: c.module.get('mode') == 'replicated-job',
|
||||
detect_usage=lambda c: c.module.params.get('mode') == 'replicated-job',
|
||||
usage_msg='set mode'
|
||||
),
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user