ovirt_vm: Fix undefined variable (#44618)
Fix unassigned variable while suspending vm.
This commit is contained in:
parent
8b175d99c6
commit
56b9823bb8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue