mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix an unreachable else statement (#43463)
This commit is contained in:
parent
486a43829c
commit
240b65ddda
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ def create_update_parameter(client, module):
|
||||||
Type=module.params.get('string_type')
|
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)
|
args.update(Overwrite=True)
|
||||||
else:
|
else:
|
||||||
args.update(Overwrite=False)
|
args.update(Overwrite=False)
|
||||||
|
|
Loading…
Add table
Reference in a new issue