[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix default return value for VM_Metrics.get_state



# HG changeset patch
# User Tom Wilkie <tom.wilkie@xxxxxxxxx>
# Date 1179398566 -3600
# Node ID 089696e0c60379e2bb9cfcc988d35aa1bdc261de
# Parent  11a97dca57aa4e2d0ebda5a9ec2d509372dcddd6
Fix default return value for VM_Metrics.get_state

signed-off-by: Tom Wilkie <tom.wilkie@xxxxxxxxx>
---
 tools/python/xen/xend/XendVMMetrics.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 11a97dca57aa -r 089696e0c603 tools/python/xen/xend/XendVMMetrics.py
--- a/tools/python/xen/xend/XendVMMetrics.py    Thu May 17 11:18:58 2007 +0100
+++ b/tools/python/xen/xend/XendVMMetrics.py    Thu May 17 11:42:46 2007 +0100
@@ -117,7 +117,7 @@ class XendVMMetrics(XendBase):
         except Exception, err:
             # ignore missing domain
             log.trace("domain_getinfo(%d) failed, ignoring: %s", domid, 
str(err))
-        return ""
+        return []
 
     def get_VCPUs_params(self):
         domid = self.xend_domain_instance.getDomid()

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.