cluster: Update endpoints' features for heartbeat messages.

This commit is contained in:
Gunnar Beutner 2013-09-12 10:22:03 +02:00
parent 3b1b9d1274
commit 5ce38cbee6
1 changed files with 3 additions and 1 deletions

View File

@ -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");