Checkable#ExecuteEventHandler(): don't outsource event command run twice

refs #8704
This commit is contained in:
Alexander A. Klimov 2022-02-24 14:03:57 +01:00
parent eddb4beea0
commit e3a29fb072

View File

@ -49,7 +49,7 @@ void Checkable::ExecuteEventHandler(const Dictionary::Ptr& resolvedMacros, bool
ec->Execute(this, macros, useResolvedMacros);
if (endpoint) {
if (endpoint && !GetExtension("agent_check")) {
Dictionary::Ptr message = new Dictionary();
message->Set("jsonrpc", "2.0");
message->Set("method", "event::ExecuteCommand");