2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

shadowing outer local variable

This commit is contained in:
linyows 2014-04-18 10:13:56 +09:00
parent f6b9d755d3
commit 1f00275d4e

View File

@ -38,8 +38,8 @@ module Munin
result = 0
memory = memory_usage
result += memory[:master][master_pid]
memory[:worker].each do |pid, memory|
result += memory
memory[:worker].each do |pid, worker_memory|
result += worker_memory
end
result
end