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

[Xen-changelog] [xen-unstable] xenapi: Small fix to the host.get_name_description call



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1179222550 -3600
# Node ID fbce94a9feaac121ebb51a8f50e1f233d532ddd6
# Parent  cb006eecd6f5b8fbc3baa128e68163799eccb31c
xenapi: Small fix to the host.get_name_description call
Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
 tools/python/xen/xend/XendAPI.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r cb006eecd6f5 -r fbce94a9feaa tools/python/xen/xend/XendAPI.py
--- a/tools/python/xen/xend/XendAPI.py  Tue May 15 10:46:43 2007 +0100
+++ b/tools/python/xen/xend/XendAPI.py  Tue May 15 10:49:10 2007 +0100
@@ -905,7 +905,7 @@ class XendAPI(object):
         XendNode.instance().set_name(new_name)
         return xen_api_success_void()
     def host_get_name_description(self, session, host_ref):
-        return xen_api_success(XendNode.instance().description)
+        return xen_api_success(XendNode.instance().get_description())
     def host_set_name_description(self, session, host_ref, new_desc):
         XendNode.instance().set_description(new_desc)
         return xen_api_success_void()

_______________________________________________
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®.