Skip to content

Commit

Permalink
Update plugins/modules/podman_image.py
Browse files Browse the repository at this point in the history
Signed-off-by: nishipy <goodisonev4@gmail.com>
  • Loading branch information
nishipy committed Apr 15, 2023
1 parent 6eb5d93 commit 46e2503
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/modules/podman_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,9 +543,7 @@ def find_image(self, image_name=None):
return None

def _is_target_arch(self, inspect_json=None, arch=None):
if arch and inspect_json[0]['Architecture'] == arch:
return True
return False
return arch and inspect_json[0]['Architecture'] == arch

def find_image_id(self, image_id=None):
if image_id is None:
Expand Down

0 comments on commit 46e2503

Please sign in to comment.