Merge pull request #904 from coreos-inc/fix-squash

Fix squash pull after v2 merge
This commit is contained in:
Silas Sewell 2015-11-18 11:29:39 -05:00
commit 1a08cee4e7

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