fixed issue with non-existent variable being passed to ImageNotFound exception
This commit is contained in:
parent
114a55d024
commit
92294ab9b6
@ -102,7 +102,7 @@ class LocalImageService(service.BaseImageService):
|
||||
image = cantidate
|
||||
break
|
||||
if image is None:
|
||||
raise exception.ImageNotFound(image_id=image_id)
|
||||
raise exception.ImageNotFound(image_id=name)
|
||||
return image
|
||||
|
||||
def get(self, context, image_id, data):
|
||||
|
Loading…
x
Reference in New Issue
Block a user