mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
bug #690: Wrong IM driver protocol
This commit is contained in:
parent
71a1b3408a
commit
1677141cf6
@ -53,7 +53,7 @@ class InformationManagerDriver < OpenNebulaDriver
|
||||
|
||||
# Execute the run_probes in the remote host
|
||||
def action_monitor(number, host, do_update)
|
||||
if !action_is_local?(:monitor)
|
||||
if !action_is_local?(:MONITOR)
|
||||
if do_update == "1"
|
||||
# Use SCP to sync:
|
||||
sync_cmd = "scp -r #{@local_scripts_base_path}/. " \
|
||||
@ -65,7 +65,7 @@ class InformationManagerDriver < OpenNebulaDriver
|
||||
LocalCommand.run(sync_cmd, log_method(number))
|
||||
end
|
||||
end
|
||||
do_action("#{@hypervisor}", number, host, :monitor,
|
||||
do_action("#{@hypervisor}", number, host, :MONITOR,
|
||||
:script_name => 'run_probes')
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user