mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
parent
3cfa8718b4
commit
80fdccc43a
@ -808,8 +808,11 @@ void ApiListener::ReplayLog(const JsonRpcConnection::Ptr& client)
|
|||||||
{
|
{
|
||||||
Endpoint::Ptr endpoint = client->GetEndpoint();
|
Endpoint::Ptr endpoint = client->GetEndpoint();
|
||||||
|
|
||||||
if (endpoint->GetLogDuration() == 0)
|
if (endpoint->GetLogDuration() == 0) {
|
||||||
|
ObjectLock olock2(endpoint);
|
||||||
|
endpoint->SetSyncing(false);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
CONTEXT("Replaying log for Endpoint '" + endpoint->GetName() + "'");
|
CONTEXT("Replaying log for Endpoint '" + endpoint->GetName() + "'");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user