mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Fix VM_metrics.get_vcpus_utilisation.
Fix is due to Ingard Mevåg <ingard.mevag@stud.iu.hio.no>. Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
d4da3e9598
commit
96541d59b4
1 file changed
+1
-1
@@ -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
|
||||
# ----------------------------------------------------------------
|
||||
|
||||