[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix VM_metrics.get_vcpus_utilisation.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1174068403 0
# Node ID 1e592e4557c15559657b88dca3759322d8114787
# Parent  9e07e0133f529085586ccb61862a39129c0080cb
Fix VM_metrics.get_vcpus_utilisation.

Fix is due to Ingard Mev?g <ingard.mevag@xxxxxxxxxxxxxx>.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendAPI.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 9e07e0133f52 -r 1e592e4557c1 tools/python/xen/xend/XendAPI.py
--- a/tools/python/xen/xend/XendAPI.py  Fri Mar 16 16:40:18 2007 +0000
+++ b/tools/python/xen/xend/XendAPI.py  Fri Mar 16 18:06:43 2007 +0000
@@ -1550,7 +1550,7 @@ class XendAPI(object):
         return xen_api_success(self._VM_metrics_get(ref).get_vcpus_number())
 
     def VM_metrics_get_vcpus_utilisation(self, _, ref):
-        return 
xen_api_success(self._VM_metrics_get(ref).get_metrics_get_vcpus_utilisation())
+        return 
xen_api_success(self._VM_metrics_get(ref).get_vcpus_utilisation())
 
     # Xen API: Class VBD
     # ----------------------------------------------------------------

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.