Merge branch 'master' of https://bitbucket.org/yackob03/quay
This commit is contained in:
commit
0ffd23e20e
1 changed files with 5 additions and 4 deletions
|
@ -10,7 +10,8 @@ for image in Image.select():
|
|||
image_path = store.image_layer_path(image.repository.namespace,
|
||||
image.repository.name,
|
||||
image.docker_image_id)
|
||||
size = store.get_size(image_path)
|
||||
print 'Setting image %s size to: %s' % (image.docker_image_id, size)
|
||||
image.image_size = size
|
||||
image.save()
|
||||
if store.exists(image_path):
|
||||
size = store.get_size(image_path)
|
||||
print 'Setting image %s size to: %s' % (image.docker_image_id, size)
|
||||
image.image_size = size
|
||||
image.save()
|
Reference in a new issue