Fixing data processing image registry
The Data Processing Image Registry was not adapted to use expect the "previous" return value from glance.image_list_detailed. This change allows the Image Registry to work correctly again. Change-Id: I990962483197f54ee9436278463c4709b909297a Closes-Bug: #1347036
This commit is contained in:
parent
fd20346ab0
commit
bb60aabcba
|
@ -77,7 +77,8 @@ class RegisterImageForm(ImageForm):
|
|||
|
||||
def _get_images(self, request, filter):
|
||||
try:
|
||||
images, _more = glance.image_list_detailed(request, filters=filter)
|
||||
images, _more, _prev = (
|
||||
glance.image_list_detailed(request, filters=filter))
|
||||
except Exception:
|
||||
images = []
|
||||
exceptions.handle(request,
|
||||
|
|
Loading…
Reference in New Issue