Fix an unreachable else statement (#43463)

This commit is contained in:
joren485 2018-07-31 00:27:13 +02:00 committed by Will Thames
parent 486a43829c
commit 240b65ddda

View file

@ -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)