From 6b6ebaa9bef4943ccfe73cc20554339d49444697 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Wed, 6 Jun 2018 12:29:19 -0400 Subject: [PATCH] Use proper name --- pvc.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pvc.py b/pvc.py index 2cf6d765..c6d19e30 100755 --- a/pvc.py +++ b/pvc.py @@ -173,7 +173,7 @@ def undefine_vm(dom_name, dom_uuid): dom_uuid = pvcf.searchClusterByName(zk, dom_name) # Verify we got a result or abort - if not validateUUID(dom_uuid): + if not pvcf.validateUUID(dom_uuid): if dom_name != None: message_name = dom_name else: @@ -238,7 +238,7 @@ def start_vm(dom_name, dom_uuid): dom_uuid = pvcf.searchClusterByName(zk, dom_name) # Verify we got a result or abort - if not validateUUID(dom_uuid): + if not pvcf.validateUUID(dom_uuid): if dom_name != None: message_name = dom_name else: @@ -290,7 +290,7 @@ def shutdown_vm(dom_name, dom_uuid): dom_uuid = pvcf.searchClusterByName(zk, dom_name) # Verify we got a result or abort - if not validateUUID(dom_uuid): + if not pvcf.validateUUID(dom_uuid): if dom_name != None: message_name = dom_name else: @@ -339,7 +339,7 @@ def stop_vm(dom_name, dom_uuid): dom_uuid = pvcf.searchClusterByName(zk, dom_name) # Verify we got a result or abort - if not validateUUID(dom_uuid): + if not pvcf.validateUUID(dom_uuid): if dom_name != None: message_name = dom_name else: @@ -396,7 +396,7 @@ def migrate_vm(dom_name, dom_uuid, target_hypervisor, force_migrate): dom_uuid = pvcf.searchClusterByName(zk, dom_name) # Verify we got a result or abort - if not validateUUID(dom_uuid): + if not pvcf.validateUUID(dom_uuid): if dom_name != None: message_name = dom_name else: @@ -476,7 +476,7 @@ def unmigrate_vm(dom_name, dom_uuid): dom_uuid = pvcf.searchClusterByName(zk, dom_name) # Verify we got a result or abort - if not validateUUID(dom_uuid): + if not pvcf.validateUUID(dom_uuid): if dom_name != None: message_name = dom_name else: