mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 00:33:09 +00:00
ovirt_vm: Fix undefined variable (#44618)
Fix unassigned variable while suspending vm.
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user