Skip to content

Commit a88658b

Browse files
committed
fix: Add missing volume name to exception in VDO pool _create
1 parent 9781834 commit a88658b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

library/blivet.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,8 +1157,9 @@ def _get_params_create_vdo(self):
11571157
pool_size = self._trim_size(Size(self._volume['vdo_pool_size']), parent_device)
11581158
except BlivetAnsibleError:
11591159
# Literally the same error just more specific description
1160-
raise BlivetAnsibleError("specified 'vdo_pool_size' for volume '%s' "
1160+
raise BlivetAnsibleError("specified 'vdo_pool_size' '%s' for volume '%s' "
11611161
"exceeds available space in pool '%s' (%s)" % (pool_size,
1162+
self._volume['name'],
11621163
parent_device.name,
11631164
parent_device.free_space))
11641165

0 commit comments

Comments
 (0)