WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Small fix to the host.get_name_description call
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Mon, 14 May 2007 22:40:51 -0400
Cc: ewan@xxxxxxxxxxxxx
Delivery-date: Mon, 14 May 2007 19:39:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Small fix to the host.get_name_description call, Stefan Berger <=