Fix bugs with pushing, pulling, and deleting.
This commit is contained in:
parent
bf98575feb
commit
bf0e01fba5
3 changed files with 16 additions and 15 deletions
|
@ -1151,7 +1151,7 @@ def garbage_collect_repository(namespace_name, repository_name):
|
|||
for placement in storage.imagestorageplacement_set:
|
||||
location_name = placement.location.name
|
||||
placement.delete_instance()
|
||||
config.store.remove(location_name, image_path)
|
||||
config.store.remove({location_name}, image_path)
|
||||
|
||||
storage.delete_instance()
|
||||
|
||||
|
|
Reference in a new issue