From 0b42b5efe898d73e313ff1e1dca7232607600986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tino=20V=C3=A1zquez?= Date: Wed, 27 Oct 2010 13:10:51 +0200 Subject: [PATCH] bug #373: Fix bad LocalCommand.run call --- src/im_mad/im_sh/one_im_sh.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/im_mad/im_sh/one_im_sh.rb b/src/im_mad/im_sh/one_im_sh.rb index c2ab321cef..79714d2934 100755 --- a/src/im_mad/im_sh/one_im_sh.rb +++ b/src/im_mad/im_sh/one_im_sh.rb @@ -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)