qubes/storage: minor error message fix
This commit is contained in:
parent
d80f34888d
commit
48176d51f1
@ -240,7 +240,7 @@ class FilePool(Pool):
|
|||||||
origin_pool = vm.app.get_pool(
|
origin_pool = vm.app.get_pool(
|
||||||
vm.template.volume_config[name]['pool'])
|
vm.template.volume_config[name]['pool'])
|
||||||
assert isinstance(origin_pool,
|
assert isinstance(origin_pool,
|
||||||
FilePool), 'Origin volume not a xen volume'
|
FilePool), 'Origin volume not a file volume'
|
||||||
volume_config['target_dir'] = origin_pool.target_dir(vm.template)
|
volume_config['target_dir'] = origin_pool.target_dir(vm.template)
|
||||||
name = volume_config['name']
|
name = volume_config['name']
|
||||||
volume_config['size'] = vm.template.volume_config[name]['size']
|
volume_config['size'] = vm.template.volume_config[name]['size']
|
||||||
|
Loading…
Reference in New Issue
Block a user