fixed issue with non-existent variable being passed to ImageNotFound exception

This commit is contained in:
William Wolf 2011-05-05 15:37:53 -04:00
parent 114a55d024
commit 92294ab9b6

View File

@ -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):