diff --git a/initdb.py b/initdb.py index 113d96a3e..87cc31dcf 100644 --- a/initdb.py +++ b/initdb.py @@ -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()