From 3f07dd6caeb15662ee7e33479d2480f8eed6062a Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Tue, 2 Jun 2020 11:52:58 +0200 Subject: [PATCH] Add stub for event::ExecuteCommand w/ source refs #8034 --- lib/icinga/clusterevents-check.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/icinga/clusterevents-check.cpp b/lib/icinga/clusterevents-check.cpp index 530234c6b..96b3de146 100644 --- a/lib/icinga/clusterevents-check.cpp +++ b/lib/icinga/clusterevents-check.cpp @@ -92,6 +92,11 @@ void ClusterEvents::ExecuteCheckFromQueue(const MessageOrigin::Ptr& origin, cons return; } + if (params->Contains("source")) { + Log(LogCritical, "ApiListener", "Not implemented."); + return; + } + if (!listener->GetAcceptCommands()) { Log(LogWarning, "ApiListener") << "Ignoring command. '" << listener->GetName() << "' does not accept commands.";