Fix uninitialized variable in launch instance
Change-Id: If93dbe0ddd0af4333ac69662beb5151e5d1ea95c
This commit is contained in:
parent
7d13abc477
commit
235935f4d1
@ -243,6 +243,7 @@ class SetInstanceDetailsAction(workflows.Action):
|
|||||||
owned_images, _more = glance.image_list_detailed(
|
owned_images, _more = glance.image_list_detailed(
|
||||||
request, filters=owner)
|
request, filters=owner)
|
||||||
except:
|
except:
|
||||||
|
owned_images = []
|
||||||
exceptions.handle(request,
|
exceptions.handle(request,
|
||||||
_("Unable to retrieve images for "
|
_("Unable to retrieve images for "
|
||||||
"the current project."))
|
"the current project."))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user