Move the creation of images to when the JSON is uploaded.
This commit is contained in:
parent
3cae6609a7
commit
59b794dd61
3 changed files with 12 additions and 33 deletions
|
@ -1628,8 +1628,6 @@ def garbage_collect_repository(namespace_name, repository_name):
|
|||
logger.info('Garbage collecting storage for images: %s', to_remove)
|
||||
_garbage_collect_storage(storage_id_whitelist)
|
||||
|
||||
return len(to_remove)
|
||||
|
||||
|
||||
def _garbage_collect_storage(storage_id_whitelist):
|
||||
if len(storage_id_whitelist) == 0:
|
||||
|
|
Reference in a new issue