puppetlabs-lvm icon indicating copy to clipboard operation
puppetlabs-lvm copied to clipboard

when output of lvs has '<' in output, regular expression does not account for lead character

Open Rthur opened this issue 4 years ago • 2 comments

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

Rthur avatar Apr 24 '21 00:04 Rthur

Codecov Report

Merging #264 (1439cd8) into master (cada6d4) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           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 data Powered by Codecov. Last update cada6d4...1439cd8. Read the comment docs.

codecov-commenter avatar Apr 24 '21 00:04 codecov-commenter

CLA assistant check
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.

CLAassistant avatar Sep 01 '21 18:09 CLAassistant