mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-03-22 02:29:08 +00:00
Run CI jobs with newer podman 4 (#525)
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com> Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
95649a6e66
commit
4f6ed89607
30 changed files with 66 additions and 70 deletions
|
|
@ -109,7 +109,7 @@ def get_pod_info(module, executable, name):
|
|||
rc, out, err = module.run_command(command + [pod])
|
||||
errs.append(err.strip())
|
||||
rcs += [rc]
|
||||
if not out or json.loads(out) is None:
|
||||
if not out or json.loads(out) is None or not json.loads(out):
|
||||
continue
|
||||
result.append(json.loads(out))
|
||||
return result, errs, rcs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue