Don't update image properties if we're deleting

pull/18777/head
Monty Taylor 10 years ago committed by Matt Clay
parent a4e4dbd863
commit 8958deeb02

@ -175,7 +175,7 @@ def main():
ramdisk=module.params['ramdisk'],
**module.params['properties'])
if module.params['state'] == 'absent':
elif module.params['state'] == 'absent':
if not image:
module.exit_json(changed=False, result="success")
else:

Loading…
Cancel
Save