Change the image changes to return a python block.
This commit is contained in:
parent
d4cf7df9cf
commit
535947a06d
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class RepositoryImageChanges(RepositoryParamResource):
|
||||||
diffs_path = store.image_file_diffs_path(namespace, repository, image_id, uuid)
|
diffs_path = store.image_file_diffs_path(namespace, repository, image_id, uuid)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
response_json = store.get_content(diffs_path)
|
response_json = json.loads(store.get_content(diffs_path))
|
||||||
return response_json
|
return response_json
|
||||||
except IOError:
|
except IOError:
|
||||||
abort(404)
|
abort(404)
|
||||||
|
|
Reference in a new issue