mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Merge pull request #6487 from Icinga/bugfix/discard-warning-6485
Fix "Discard" message being warning
This commit is contained in:
commit
5a8e98213c
@ -223,7 +223,7 @@ Value ApiListener::ConfigDeleteObjectAPIHandler(const MessageOrigin::Ptr& origin
|
||||
|
||||
/* discard messages if the sender is in a child zone */
|
||||
if (!Zone::GetLocalZone()->IsChildOf(endpoint->GetZone())) {
|
||||
Log(LogWarning, "ApiListener")
|
||||
Log(LogNotice, "ApiListener")
|
||||
<< "Discarding 'config update object' message from '"
|
||||
<< origin->FromClient->GetIdentity() << "'.";
|
||||
return Empty;
|
||||
|
Loading…
x
Reference in New Issue
Block a user