Backport remaining v2 changes to phase4
This commit is contained in:
parent
e965ed9f3b
commit
cb7ec2f239
4 changed files with 104 additions and 5 deletions
|
@ -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}
|
||||
|
|
Reference in a new issue