Fix V1 tests due to a typo

Fixes #397
This commit is contained in:
Joseph Schorr 2015-08-25 14:30:19 -04:00
parent 2bb19061d6
commit 767be0798f

View file

@ -349,7 +349,7 @@ def get_image_json(namespace, repository, image_id, headers):
logger.debug('Looking up repo layer data')
try:
data = repo_image.get_image_json(repo_image)
data = model.image.get_image_json(repo_image)
except (IOError, AttributeError):
flask_abort(404)