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

Fix indentation

Signed-off-by: Derek <derek@frisbeeworld.com>
This commit is contained in:
Derek 2024-06-02 21:25:41 +10:00
parent 69338c1398
commit c769ed2fce

View file

@ -112,12 +112,12 @@ def main():
result_str = search_images(module, executable, term, limit, listtags)
if result_str == "":
results = []
results = []
else:
try:
results = json.loads(result_str)
except json.decoder.JSONDecodeError:
module.fail_json(msg='Failed to parse JSON output from podman search: {out}'.format(out=result_str))
try:
results = json.loads(result_str)
except json.decoder.JSONDecodeError:
module.fail_json(msg='Failed to parse JSON output from podman search: {out}'.format(out=result_str))
results = dict(
changed=False,