lib/reporter/default/stats_disk.rb in onering-report-plugins-0.0.37 vs lib/reporter/default/stats_disk.rb in onering-report-plugins-0.0.38
- old
+ new
@@ -115,12 +115,12 @@
d = {}
d[:@mounts] = (Hash[mounts.select{|k,v| k =~ /^\/dev\/((h|s|xv|v)d|mapper|vgc)/ }].values rescue nil)
d[:lvm] = {
- :groups => vg.values
+ :@groups => vg.values
} unless vg.values.empty?
- d[:smart] = Facter.value('smart')
+ d[:@smart] = Facter.value('smart')
stat :disk, d.compact
end