mirror of https://github.com/Icinga/icinga2.git
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("params", execParams);
|
||||
|
||||
listener->RelayMessage(origin, checkable, execMessage, true);
|
||||
listener->RelayMessage(origin, endpointPtr->GetZone(), execMessage, true);
|
||||
}
|
||||
|
||||
Dictionary::Ptr result = new Dictionary();
|
||||
|
|
Loading…
Reference in New Issue