lvm_thin: fill in volume's revisions_to_keep from pool
Otherwise, the base class defaults revisions_to_keep to 0.
这个提交包含在:
父节点
e3d3e149f0
当前提交
9f468f93f5
@ -78,6 +78,8 @@ class ThinPool(qubes.storage.Pool):
|
||||
''' Initialize a :py:class:`qubes.storage.Volume` from `volume_config`.
|
||||
'''
|
||||
|
||||
if 'revisions_to_keep' not in volume_config.keys():
|
||||
volume_config['revisions_to_keep'] = self.revisions_to_keep
|
||||
if 'vid' not in volume_config.keys():
|
||||
if vm and hasattr(vm, 'name'):
|
||||
vm_name = vm.name
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户