mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
parent
db0c6ef187
commit
55f0c589ad
@ -749,6 +749,9 @@ void ApiListener::ReplayLog(const JsonRpcConnection::Ptr& client)
|
|||||||
{
|
{
|
||||||
Endpoint::Ptr endpoint = client->GetEndpoint();
|
Endpoint::Ptr endpoint = client->GetEndpoint();
|
||||||
|
|
||||||
|
if (endpoint->GetLogDuration() == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
CONTEXT("Replaying log for Endpoint '" + endpoint->GetName() + "'");
|
CONTEXT("Replaying log for Endpoint '" + endpoint->GetName() + "'");
|
||||||
|
|
||||||
int count = -1;
|
int count = -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user