Skip to content

Commit

Permalink
Add stub for event::ExecuteCommand w/ source
Browse files Browse the repository at this point in the history
refs #8034
  • Loading branch information
Al2Klimov authored and N-o-X committed Nov 20, 2020
1 parent f5b9905 commit 476da0b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/icinga/clusterevents-check.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.";
Expand Down

0 comments on commit 476da0b

Please sign in to comment.