Fix squash pull after v2 merge

This commit is contained in:
Silas Sewell 2015-11-17 18:25:43 -05:00
parent 206ffc65af
commit f3dafd50e4

View file

@ -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