mirror of https://github.com/Icinga/icinga2.git
cluster: Update endpoints' features for heartbeat messages.
This commit is contained in:
parent
3b1b9d1274
commit
5ce38cbee6
|
@ -846,8 +846,10 @@ void ClusterComponent::MessageHandler(const Endpoint::Ptr& sender, const Diction
|
|||
|
||||
Endpoint::Ptr endpoint = Endpoint::GetByName(identity);
|
||||
|
||||
if (endpoint)
|
||||
if (endpoint) {
|
||||
endpoint->SetSeen(Utility::GetTime());
|
||||
endpoint->SetFeatures(params->Get("features"));
|
||||
}
|
||||
} else if (message->Get("method") == "cluster::CheckResult") {
|
||||
String svc = params->Get("service");
|
||||
|
||||
|
|
Loading…
Reference in New Issue