1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-25 02:50:08 +03:00

bug #373: Fix bad LocalCommand.run call

This commit is contained in:
Tino Vázquez 2010-10-27 13:10:51 +02:00
parent 6a190e7ba8
commit 0b42b5efe8

View File

@ -64,7 +64,7 @@ class InformationManager < OpenNebulaDriver
end
cmd_string = "#{@cmd_path}/run_probes #{@hypervisor} #{host}"
monitor_exe = LocalCommand.run(cmd_string, host, log_method(id))
monitor_exe = LocalCommand.run(cmd_string, log_lambda)
if monitor_exe.code == 0
send_message("MONITOR", RESULT[:success], number, monitor_exe.stdout)