Fix up the shared base images stuff.

This commit is contained in:
jakedt 2014-02-20 22:26:10 -05:00
parent 05dd00d495
commit a63a49caa1
5 changed files with 37 additions and 13 deletions

View file

@ -67,7 +67,7 @@ def __create_subtree(repo, structure, creator_username, parent):
logger.debug('new docker id: %s' % docker_image_id)
checksum = __gen_checksum(docker_image_id)
new_image = model.create_or_link_image(docker_image_id, repo, None)
new_image = model.create_or_link_image(docker_image_id, repo, None, {})
new_image.storage.uuid = IMAGE_UUIDS[image_num % len(IMAGE_UUIDS)]
new_image.storage.save()