mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +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 */
|
/* discard messages if the sender is in a child zone */
|
||||||
if (!Zone::GetLocalZone()->IsChildOf(endpoint->GetZone())) {
|
if (!Zone::GetLocalZone()->IsChildOf(endpoint->GetZone())) {
|
||||||
Log(LogWarning, "ApiListener")
|
Log(LogNotice, "ApiListener")
|
||||||
<< "Discarding 'config update object' message from '"
|
<< "Discarding 'config update object' message from '"
|
||||||
<< origin->FromClient->GetIdentity() << "'.";
|
<< origin->FromClient->GetIdentity() << "'.";
|
||||||
return Empty;
|
return Empty;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user