From 476da0b2c28ecd15f50c6862088c81bd3ed288a2 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 dec1b7c1285..6d70aebc50c 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.";