Fix initdb.

This commit is contained in:
jakedt 2014-02-21 14:22:22 -05:00
parent 71ecca4c62
commit 20a19fc05e

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()