lib/zabbix-ruby-client/plugins/memory.rb in zabbix-ruby-client-0.0.5 vs lib/zabbix-ruby-client/plugins/memory.rb in zabbix-ruby-client-0.0.6

- old
+ new

@@ -27,10 +27,10 @@ end def splitinfo(info) info.split(/\n/).map(&:strip).reduce({}) do |a,line| kb, _, label1, label2 = line.split(" ") - a[label1+label2] = kb + a[label1+label2] = kb.to_i * 1000 a end end end