Fix initdb to put proper JSON into the v1_metadata
This commit is contained in:
parent
acac893495
commit
d870ae4ec4
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ def __create_subtree(repo, structure, creator_username, parent, tag_map):
|
||||||
|
|
||||||
new_image = model.image.set_image_metadata(docker_image_id, repo.namespace_user.username,
|
new_image = model.image.set_image_metadata(docker_image_id, repo.namespace_user.username,
|
||||||
repo.name, str(creation_time), 'no comment', command,
|
repo.name, str(creation_time), 'no comment', command,
|
||||||
v1_metadata, parent)
|
json.dumps(v1_metadata), parent)
|
||||||
|
|
||||||
compressed_size = random.randrange(1, 1024 * 1024 * 1024)
|
compressed_size = random.randrange(1, 1024 * 1024 * 1024)
|
||||||
model.image.set_image_size(docker_image_id, repo.namespace_user.username, repo.name,
|
model.image.set_image_size(docker_image_id, repo.namespace_user.username, repo.name,
|
||||||
|
|
Reference in a new issue