mirror of https://github.com/Icinga/icinga2.git
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…
Reference in New Issue