From 461183a371b83a0ea87c482d4d3ecf45482833a1 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Thu, 20 Sep 2018 03:46:05 -0400 Subject: [PATCH] Fix changed variable name --- client-common/client_lib/vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-common/client_lib/vm.py b/client-common/client_lib/vm.py index add9f20b..38abe8f9 100644 --- a/client-common/client_lib/vm.py +++ b/client-common/client_lib/vm.py @@ -184,7 +184,7 @@ def getDomainUUID(zk_conn, domain): # def define_vm(zk_conn, config_data, target_hypervisor, selector): # Parse the XML data - parsed_xml = lxml.objectify.fromstring(data) + parsed_xml = lxml.objectify.fromstring(config_data) dom_uuid = parsed_xml.uuid.text dom_name = parsed_xml.name.text click.echo('Adding new VM with Name "{}" and UUID "{}" to database.'.format(dom_name, dom_uuid))