mirror of https://github.com/Icinga/icinga2.git
parent
087ad3fdf4
commit
3cfa8718b4
|
@ -808,6 +808,9 @@ void ApiListener::ReplayLog(const JsonRpcConnection::Ptr& client)
|
|||
{
|
||||
Endpoint::Ptr endpoint = client->GetEndpoint();
|
||||
|
||||
if (endpoint->GetLogDuration() == 0)
|
||||
return;
|
||||
|
||||
CONTEXT("Replaying log for Endpoint '" + endpoint->GetName() + "'");
|
||||
|
||||
int count = -1;
|
||||
|
|
Loading…
Reference in New Issue