Rename Image.image_id to Image.docker_image_id to reduce confusion.
This commit is contained in:
parent
4746f9c324
commit
96896b9067
7 changed files with 33 additions and 20 deletions
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue