[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [XEND] Make sure other_config is by default an empty string map.
# HG changeset patch # User Alastair Tse <atse@xxxxxxxxxxxxx> # Date 1170255846 0 # Node ID 3291a7b48731018d52060a36f1b1dd67f8410d6a # Parent 5d12faee0708b1eac1f9cc99e7abf813ff3584f0 [XEND] Make sure other_config is by default an empty string map. Signed-off-by: Alastair Tse <atse@xxxxxxxxxxxxx> --- tools/python/xen/xend/XendAPI.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r 5d12faee0708 -r 3291a7b48731 tools/python/xen/xend/XendAPI.py --- a/tools/python/xen/xend/XendAPI.py Wed Jan 31 15:03:22 2007 +0000 +++ b/tools/python/xen/xend/XendAPI.py Wed Jan 31 15:04:06 2007 +0000 @@ -1186,7 +1186,7 @@ class XendAPI(object): return xen_api_success(dom.get_platform_keymap()) def VM_get_other_config(self, session, vm_ref): - return self.VM_get('otherconfig', session, vm_ref) + return self.VM_get('other_config', session, vm_ref) def VM_get_is_control_domain(self, session, vm_ref): xd = XendDomain.instance() @@ -1363,7 +1363,7 @@ class XendAPI(object): 'platform_keymap': xeninfo.get_platform_keymap(), 'PCI_bus': xeninfo.get_pci_bus(), 'tools_version': xeninfo.get_tools_version(), - 'other_config': xeninfo.info.get('otherconfig'), + 'other_config': xeninfo.info.get('other_config', {}), 'is_control_domain': xeninfo == xendom.privilegedDomain(), } return xen_api_success(record) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |