xend: Return True from device_update when cfg_xenapi

When device_update is called by using cfg_xenapi, this patch
returns True.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
Keir Fraser committed 2009-03-31 11:49:56 +01:00
1 parent 9e7c906ffa
commit f02c18fff7
1 file changed
+1
+1
View File
@@ -1912,6 +1912,7 @@ class XendConfig(dict):
for key, val in cfg_xenapi.items():
dev_info[key] = val
self['devices'][dev_uuid] = (dev_type, dev_info)
return True
return False
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.