1
0
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:
Jan Orel 2021-02-18 08:41:02 +01:00 committed by GitHub
parent 1e1770b768
commit 1a6f26632c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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