Prevent crash if Mode isn't present, which happens for Swarm jobs. (#1003) (#1004)

(cherry picked from commit 7583ea82ac)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot]
2024-12-04 21:57:04 +01:00
committed by GitHub
parent 29c586c6fd
commit 4ab7733579
2 changed files with 3 additions and 1 deletions
@@ -0,0 +1,2 @@
bugfixes:
- "docker_swarm_info - do not crash when finding Swarm jobs if ``services=true`` (https://github.com/ansible-collections/community.docker/issues/1003)."