when output of lvs has '<' in output, regular expression does not account for lead character
Sample output of system where size_to_bytes fails:
$ sudo lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert root rhel -wi-ao---- <21.50g swap rhel -wi-ao---- 2.50g
Codecov Report
Merging #264 (1439cd8) into master (cada6d4) will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## master #264 +/- ##
=======================================
Coverage 72.96% 72.96%
=======================================
Files 17 17
Lines 773 773
=======================================
Hits 564 564
Misses 209 209
| Impacted Files | Coverage Δ | |
|---|---|---|
| lib/facter/lvm_support.rb | 70.58% <0.00%> (-5.89%) |
:arrow_down: |
| lib/facter/logical_volumes.rb | 100.00% <0.00%> (+11.11%) |
:arrow_up: |
| lib/facter/physical_volumes.rb | 100.00% <0.00%> (+11.11%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update cada6d4...1439cd8. Read the comment docs.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.