From a34ddc1f710e93010ecc5dda8c07717bbceb47cd Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Thu, 22 Oct 2015 15:21:15 -0400 Subject: [PATCH] copy over v1 metadata when linking existing image --- data/model/image.py | 1 + 1 file changed, 1 insertion(+) diff --git a/data/model/image.py b/data/model/image.py index 56583751e..82953cd86 100644 --- a/data/model/image.py +++ b/data/model/image.py @@ -202,6 +202,7 @@ def _find_or_link_image(existing_image, repo_obj, username, translations, prefer command=existing_image.command, created=existing_image.created, comment=existing_image.comment, + v1_json_metadata=existing_image.v1_json_metadata, aggregate_size=existing_image.aggregate_size)