Change in vdsm[master]: fix comments in vm.getStats
lvroyce at linux.vnet.ibm.com
lvroyce at linux.vnet.ibm.com
Wed Oct 17 10:01:10 UTC 2012
Royce Lv has uploaded a new change for review.
Change subject: fix comments in vm.getStats
......................................................................
fix comments in vm.getStats
Change-Id: If7389254eb720f7538145ce729169489a80b8cca
Signed-off-by: Royce Lv <lvroyce at linux.vnet.ibm.com>
---
M vdsm/vm.py
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/24/8624/1
diff --git a/vdsm/vm.py b/vdsm/vm.py
index de67420..ad21c26 100644
--- a/vdsm/vm.py
+++ b/vdsm/vm.py
@@ -944,7 +944,7 @@
self.saveState()
def status(self):
- # used by clientIF.list
+ # used by API.Global.getVMList
self.conf['status'] = self.lastStatus
return self.conf
@@ -962,7 +962,7 @@
return self._guestEvent
return 'Up'
- # used by clientIF.getVmStats
+ # used by API.Vm.getStats
if self.lastStatus == 'Down':
stats = {}
stats['exitCode'] = self.conf['exitCode']
--
To view, visit http://gerrit.ovirt.org/8624
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If7389254eb720f7538145ce729169489a80b8cca
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Royce Lv <lvroyce at linux.vnet.ibm.com>
More information about the vdsm-patches
mailing list