parent
cffb9cff5c
commit
a25b0eed4f
|
@ -348,7 +348,7 @@ def findTargetHypervisor(zk_conn, search_field, dom_uuid):
|
||||||
|
|
||||||
# Get the list of valid target hypervisors
|
# Get the list of valid target hypervisors
|
||||||
def getHypervisors(zk_conn, dom_uuid):
|
def getHypervisors(zk_conn, dom_uuid):
|
||||||
valid_hypervisor_list = {}
|
valid_hypervisor_list = []
|
||||||
full_hypervisor_list = zkhandler.listchildren(zk_conn, '/nodes')
|
full_hypervisor_list = zkhandler.listchildren(zk_conn, '/nodes')
|
||||||
current_hypervisor = zkhandler.readdata(zk_conn, '/domains/{}/hypervisor'.format(dom_uuid))
|
current_hypervisor = zkhandler.readdata(zk_conn, '/domains/{}/hypervisor'.format(dom_uuid))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue