mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 08:13:08 +00:00
Fix an unreachable else statement (#43463)
This commit is contained in:
@@ -153,7 +153,7 @@ def create_update_parameter(client, module):
|
||||
Type=module.params.get('string_type')
|
||||
)
|
||||
|
||||
if (module.params.get('overwrite_value') == "always" or "changed"):
|
||||
if (module.params.get('overwrite_value') in ("always", "changed")):
|
||||
args.update(Overwrite=True)
|
||||
else:
|
||||
args.update(Overwrite=False)
|
||||
|
||||
Reference in New Issue
Block a user