1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-03-22 02:29:08 +00:00

Fix tests for new Podman

Fix tests for new Podman
CI: add fuse-overlayfs for buildah tests

Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
Sagi Shnaidman 2026-01-17 15:04:18 +02:00 committed by Sergey
parent fbd98250f5
commit d6f395d18e
5 changed files with 10 additions and 9 deletions

View file

@ -1174,7 +1174,7 @@ class PodmanContainerDiff:
# was configured; otherwise the config key isn't part of the config.
def diffparam_healthcheck(self):
before = ""
if "healthcheck" in self.info["config"]:
if "healthcheck" in self.info["config"] and self.info["config"]["healthcheck"]:
# the "test" key is a list of 2 items where the first one is
# "CMD-SHELL" and the second one is the actual healthcheck command.
if len(self.info["config"]["healthcheck"]["test"]) > 1: