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:
parent
69338c1398
commit
c769ed2fce
1 changed files with 5 additions and 5 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue