Skip to content

Commit 7e12e7f

Browse files
committed
BUG: special handling of dev_size in remove_prefix
1 parent ccd30d8 commit 7e12e7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/puppet_x/lvm/output.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def self.remove_prefixes(array)
3434
end
3535

3636
def self.remove_prefix(item)
37+
return item if item == 'dev_size'
3738
item.gsub(%r{^[A-Za-z]+_}, '')
3839
end
3940
end

0 commit comments

Comments
 (0)