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')
|
||||
)
|
||||
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue