Fix bugs with pushing, pulling, and deleting.

This commit is contained in:
Jake Moshenko 2014-06-17 16:37:48 -04:00
parent bf98575feb
commit bf0e01fba5
3 changed files with 16 additions and 15 deletions

View file

@ -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()