mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
shadowing outer local variable
This commit is contained in:
parent
f6b9d755d3
commit
1f00275d4e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue