mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-30 22:50:10 +03:00
M #: Fix minor bug on hook retry action (#3962)
This commit is contained in:
parent
53644f646e
commit
c626955627
@ -617,9 +617,9 @@ class HookExecutionManager
|
||||
host = remote_host.text unless remote_host.nil?
|
||||
|
||||
if hook.remote?
|
||||
rc = hook.execute(@conf[:remote_hook_base_path], params, host)
|
||||
rc = hook.execute(@conf[:remote_hook_base_path], args, host)
|
||||
else
|
||||
rc = hook.execute(@conf[:hook_base_path], params, host)
|
||||
rc = hook.execute(@conf[:hook_base_path], args, host)
|
||||
end
|
||||
|
||||
xml_response = build_response_body(args, rc, host, !host.empty?, true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user