lib/riemann/babbler/plugins/disk.rb in riemann-babbler-0.0.4 vs lib/riemann/babbler/plugins/disk.rb in riemann-babbler-0.0.5
- old
+ new
@@ -12,10 +12,10 @@
next unless f[0] =~ /^\//
next if f[0] == 'Filesystem'
x = f[4].to_f/100
disk.merge!({f[5] => x})
end
- return disk
+ disk
end
def tick
disk.each do |point, free|
report({