Fix squash pull after v2 merge
This commit is contained in:
parent
206ffc65af
commit
f3dafd50e4
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 = list(model.image.get_parent_images(namespace, repository, repo_image))
|
||||||
image_list.insert(0, repo_image)
|
image_list.insert(0, repo_image)
|
||||||
|
|
||||||
|
def get_image_json(image):
|
||||||
|
return json.loads(image.v1_json_metadata)
|
||||||
|
|
||||||
def get_next_image():
|
def get_next_image():
|
||||||
for current_image in image_list:
|
for current_image in image_list:
|
||||||
yield current_image
|
yield current_image
|
||||||
|
|
Reference in a new issue