xenapi: Small fix to the host.get_name_description call

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2007-05-15 10:49:10 +01:00
1 parent 396211ae01
commit 59f97292fa
1 file changed
+1 -1
+1 -1
View File
@@ -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()
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.