Merge pull request #904 from coreos-inc/fix-squash
Fix squash pull after v2 merge
This commit is contained in:
commit
1a08cee4e7
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@ def _open_stream(formatter, namespace, repository, tag, synthetic_image_id, imag
|
|||
image_list = list(model.image.get_parent_images(namespace, repository, repo_image))
|
||||
image_list.insert(0, repo_image)
|
||||
|
||||
def get_image_json(image):
|
||||
return json.loads(image.v1_json_metadata)
|
||||
|
||||
def get_next_image():
|
||||
for current_image in image_list:
|
||||
yield current_image
|
||||
|
|
Reference in a new issue