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,6 +10,7 @@ for image in Image.select():
|
||||||
image_path = store.image_layer_path(image.repository.namespace,
|
image_path = store.image_layer_path(image.repository.namespace,
|
||||||
image.repository.name,
|
image.repository.name,
|
||||||
image.docker_image_id)
|
image.docker_image_id)
|
||||||
|
if store.exists(image_path):
|
||||||
size = store.get_size(image_path)
|
size = store.get_size(image_path)
|
||||||
print 'Setting image %s size to: %s' % (image.docker_image_id, size)
|
print 'Setting image %s size to: %s' % (image.docker_image_id, size)
|
||||||
image.image_size = size
|
image.image_size = size
|
||||||
|
|
Reference in a new issue