mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
L #-: Lint monitord-client.rb (#833)
This commit is contained in:
parent
1e1770b768
commit
1a6f26632c
@ -284,8 +284,8 @@ probes.each do |msg_type, conf|
|
||||
da.strip!
|
||||
next if da.empty?
|
||||
|
||||
smethod = conf[:method_name] ? conf[:method_name] : msg_type
|
||||
|
||||
smethod = conf[:method_name] || msg_type
|
||||
|
||||
client.send(smethod, result == 0, da)
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user