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

[Xen-devel] [PATCH] Small fix to the host.get_name_description call




Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>


diff -r 3ef0510e44d0 tools/python/xen/xend/XendAPI.py
--- a/tools/python/xen/xend/XendAPI.py                 Tue May 08 10:21:23 2007 +0100
+++ b/tools/python/xen/xend/XendAPI.py                 Mon May 14 23:17:32 2007 -0400
@@ -905,7 +941,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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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