We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3766e9e commit 3309a97Copy full SHA for 3309a97
1 file changed
library/blivet.py
@@ -1160,8 +1160,9 @@ def _get_params_create_vdo(self):
1160
pool_size = self._trim_size(Size(self._volume['vdo_pool_size']), parent_device)
1161
except BlivetAnsibleError:
1162
# Literally the same error just more specific description
1163
- raise BlivetAnsibleError("specified 'vdo_pool_size' for volume '%s' "
1164
- "exceeds available space in pool '%s' (%s)" % (pool_size,
+ raise BlivetAnsibleError("specified 'vdo_pool_size' '%s' for volume '%s' "
+ "exceeds available space in pool '%s' (%s)" % (self._volume['vdo_pool_size'],
1165
+ self._volume['name'],
1166
parent_device.name,
1167
parent_device.free_space))
1168
0 commit comments