Revision df4c2628
ID | df4c2628f113ed20a4c2f367465cab94d508db8a |
Parent | 1df6506c |
Child | 4cbd4462 |
Fix backend.GetVolumeList handling of LVM output
Sometimes ‘lvs’ can spit error messages on stdout, even when one wants
to parse the output:
...
Inconsistent metadata copies found - updating to use version 2776
...
So we need to validate the output to guard against such cases.
The patch converts the split on the separater to match against a regex
and extract the fields via groups. The original separator choice is a
bad one now :(
Reviewed-by: imsnah
Files
- added
- modified
- copied
- renamed
- deleted