mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
xenapi: Small fix to the host.get_name_description call
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
1 parent
396211ae01
commit
59f97292fa
1 file changed
+1
-1
@@ -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()
|
||||
|
||||