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:
Ewan Mellor committed 2007-03-16 18:06:43 +00:00
1 parent d4da3e9598
commit 96541d59b4
1 file changed
+1 -1
+1 -1
View File
@@ -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
# ----------------------------------------------------------------
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.