Fix an unreachable else statement (#43463)

pull/43448/merge
joren485 6 years ago committed by Will Thames
parent 486a43829c
commit 240b65ddda

@ -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…
Cancel
Save