mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-30 17:14:25 +02:00
Change checkable with the endpoint zone for execute command relay message
This commit is contained in:
parent
951388797a
commit
c6c1849106
@ -818,7 +818,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