mirror of https://github.com/Icinga/icinga2.git
Build fix.
This commit is contained in:
parent
05ba258500
commit
6351ee8fb3
|
@ -476,7 +476,7 @@ void ClusterComponent::ClusterTimerHandler(void)
|
||||||
if (client) {
|
if (client) {
|
||||||
Log(LogWarning, "cluster", "Closing connection for endpoint '" + endpoint->GetName() + "' due to inactivity.");
|
Log(LogWarning, "cluster", "Closing connection for endpoint '" + endpoint->GetName() + "' due to inactivity.");
|
||||||
client->Close();
|
client->Close();
|
||||||
endpoint->SetClient(Endpoint::Ptr());
|
endpoint->SetClient(Stream::Ptr());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue