Fix wrong usage of extend in list_image_import_opts
Review https://review.openstack.org/#/c/541740/ wrongly used "extend" method in image_import_opts, this patch fixes it. Change-Id: I00375575d601ea6d970bb93c3f01f35c034976a2 Closes-Bug: #1748399
This commit is contained in:
parent
bbb6fc06be
commit
225a33967e
|
@ -161,5 +161,5 @@ def list_manage_opts():
|
|||
def list_image_import_opts():
|
||||
"""Return a list of oslo_config options available for Image Import"""
|
||||
|
||||
opts = _image_import_opts.extend(plugin_opts.get_plugin_opts())
|
||||
return [(g, copy.deepcopy(o)) for g, o in opts]
|
||||
_image_import_opts.extend(plugin_opts.get_plugin_opts())
|
||||
return [(g, copy.deepcopy(o)) for g, o in _image_import_opts]
|
||||
|
|
Loading…
Reference in New Issue