Change in vdsm[master]: virt: stats: move last fields the static group

fromani at redhat.com fromani at redhat.com
Tue Apr 8 13:29:38 UTC 2014


Francesco Romani has uploaded a new change for review.

Change subject: virt: stats: move last fields the static group
......................................................................

virt: stats: move last fields the static group

WRITEME

Change-Id: I469759b86115d80bad62c3449fe9084d5f2e550b
Signed-off-by: Francesco Romani <fromani at redhat.com>
---
M vdsm/virt/vm.py
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/57/26557/1

diff --git a/vdsm/virt/vm.py b/vdsm/virt/vm.py
index bbd47dd..84527b9 100644
--- a/vdsm/virt/vm.py
+++ b/vdsm/virt/vm.py
@@ -2413,9 +2413,6 @@
             self._addBalloonInfoStats(stats)
             self._addMigrationVmStats(stats)
 
-        stats['hash'] = self._devXmlHash
-        if self._watchdogEvent:
-            stats["watchdogEvent"] = self._watchdogEvent
         return stats
 
     def _addExitedVmStats(self, stats):
@@ -2447,6 +2444,9 @@
         stats['clientIp'] = self.conf.get('clientIp', '')
         if 'pauseCode' in self.conf:
             stats['pauseCode'] = self.conf['pauseCode']
+        stats['hash'] = self._devXmlHash
+        if self._watchdogEvent:
+            stats['watchdogEvent'] = self._watchdogEvent
 
     def _addDynamicVmStats(self, stats):
         decStats = {}


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I469759b86115d80bad62c3449fe9084d5f2e550b
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>


More information about the vdsm-patches mailing list