Backport remaining v2 changes to phase4

This commit is contained in:
Jake Moshenko 2015-10-23 13:49:23 -04:00
parent e965ed9f3b
commit cb7ec2f239
4 changed files with 104 additions and 5 deletions

View file

@ -124,7 +124,7 @@ def garbage_collect_storage(storage_id_whitelist):
def create_storage(location_name):
storage = ImageStorage.create()
storage = ImageStorage.create(cas_path=False)
location = ImageStorageLocation.get(name=location_name)
ImageStoragePlacement.create(location=location, storage=storage)
storage.locations = {location_name}