Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sanity fix
Browse files Browse the repository at this point in the history
mandar242 committed Aug 25, 2023
1 parent 70acbc9 commit a3a4b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/ec2_ami.py
Original file line number Diff line number Diff line change
@@ -743,7 +743,7 @@ def do(cls, module, connection, image_id):
launch_permissions = module.params.get("launch_permissions")
# remove any keys with value=None
if launch_permissions:
launch_permissions = {k: v for k, v in launch_permissions.items() if v is not None}
launch_permissions = {k: v for k, v in launch_permissions.items() if v is not None}

image = get_image_by_id(connection, image_id)
if image is None:

0 comments on commit a3a4b45

Please sign in to comment.