Martin Sivák has uploaded a new change for review.

Change subject: Fix ommision in the backend API refactoring
......................................................................

Fix ommision in the backend API refactoring

The get_all_host_stats_direct used the old dom_path attribute.

Change-Id: Ia52a66836d9bf5a0cd9980d497b56ddceab8f7ca
Signed-off-by: Martin Sivak <[email protected]>
---
M configure.ac
M ovirt-hosted-engine-ha.spec.in
M ovirt_hosted_engine_ha/client/client.py
3 files changed, 7 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-hosted-engine-ha 
refs/changes/85/26085/1

diff --git a/configure.ac b/configure.ac
index 5190d4b..5833ab4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@
 
 define([VERSION_MAJOR], [1])
 define([VERSION_MINOR], [2])
-define([VERSION_FIX], [0])
+define([VERSION_FIX], [1])
 define([VERSION_NUMBER], VERSION_MAJOR[.]VERSION_MINOR[.]VERSION_FIX)
 define([VERSION_RELEASE], [0.0])
 define([VERSION_SUFFIX], [master.][m4_esyscmd([date -u +%Y%m%d%H%M%S | tr -d 
'\n'])])
diff --git a/ovirt-hosted-engine-ha.spec.in b/ovirt-hosted-engine-ha.spec.in
index dd119a3..3297db6 100644
--- a/ovirt-hosted-engine-ha.spec.in
+++ b/ovirt-hosted-engine-ha.spec.in
@@ -191,6 +191,9 @@
 
 
 %changelog
+* Tue Mar 25 2014 Martin Sivak <[email protected]> - 1.2.1-0.0.master
+- Fix in haClient direct API
+
 * Mon Mar 24 2014 Martin Sivak <[email protected]> - 1.2.0-0.0.master
 - New backend interface
 
diff --git a/ovirt_hosted_engine_ha/client/client.py 
b/ovirt_hosted_engine_ha/client/client.py
index 09c27f5..6f72d84 100644
--- a/ovirt_hosted_engine_ha/client/client.py
+++ b/ovirt_hosted_engine_ha/client/client.py
@@ -136,13 +136,14 @@
         """
         return self.get_all_stats(self.StatModes.HOST)
 
-    def get_all_host_stats_direct(self, dom_path, service_type):
+    def get_all_host_stats_direct(self, sd_uuid, dom_type, service_type):
         """
         Like get_all_host_stats(), but bypasses broker by directly accessing
         storage.
         """
         return self.get_all_stats_direct(
-            dom_path,
+            sd_uuid,
+            dom_type,
             service_type,
             self.StatModes.HOST)
 


-- 
To view, visit http://gerrit.ovirt.org/26085
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia52a66836d9bf5a0cd9980d497b56ddceab8f7ca
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to