mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
XenServer: Minor bug fixes (#53826)
- xenserver module_util: removed dead code. Attempting to call fail_json() on nonexistent/bad module reference is a bad idea. - xenserver module_util: fixed a bug in wait_for_task function where function will fail to wait indefinitely when timeout=0 is used. - xenserver_guest module: removed unused imports.
This commit is contained in:
committed by
John R Barker
parent
1e5b8b3028
commit
4ea09d4d96
@@ -438,7 +438,6 @@ except ImportError:
|
||||
pass
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils._text import to_text, to_native
|
||||
from ansible.module_utils import six
|
||||
from ansible.module_utils.xenserver import (xenserver_common_argument_spec, XAPI, XenServerObject, get_object_ref,
|
||||
gather_vm_params, gather_vm_facts, set_vm_power_state, wait_for_vm_ip_address,
|
||||
|
||||
Reference in New Issue
Block a user