mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-22 09:17:43 +02:00
Change checkable with the endpoint zone for execute command relay message
This commit is contained in:
parent
5134eca2ab
commit
1253aa07e4
@ -788,7 +788,7 @@ Dictionary::Ptr ApiActions::ExecuteCommand(const ConfigObject::Ptr& object,
|
|||||||
execMessage->Set("method", "event::ExecuteCommand");
|
execMessage->Set("method", "event::ExecuteCommand");
|
||||||
execMessage->Set("params", execParams);
|
execMessage->Set("params", execParams);
|
||||||
|
|
||||||
listener->RelayMessage(origin, checkable, execMessage, true);
|
listener->RelayMessage(origin, endpointPtr->GetZone(), execMessage, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
Dictionary::Ptr result = new Dictionary();
|
Dictionary::Ptr result = new Dictionary();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user