Rename Image.image_id to Image.docker_image_id to reduce confusion.

This commit is contained in:
yackob03 2013-10-01 14:14:39 -04:00
parent 4746f9c324
commit 96896b9067
7 changed files with 33 additions and 20 deletions

View file

@ -291,7 +291,7 @@ def put_image_json(namespace, repository, image_id):
# on a failed push
# save the metadata
if parent_id:
parent_obj = model.get_image_by_id(parent_id)
parent_obj = model.get_image_by_id(namespace, repository, parent_id)
else:
parent_obj = None