ovirt_vm: Fix undefined variable (#44618)

Fix unassigned variable while suspending vm.
pull/44616/merge
Ondra Machacek 6 years ago committed by ansibot
parent 8b175d99c6
commit 56b9823bb8

@ -2057,7 +2057,7 @@ def main():
)
vms_module.post_present(ret['id'])
elif state == 'suspended':
vms_module.create(
ret = vms_module.create(
entity=vm,
result_state=otypes.VmStatus.DOWN if vm is None else None,
clone=module.params['clone'],

Loading…
Cancel
Save