Fix duplicate CheckResult messages for command_endpoint

fixes #12179
This commit is contained in:
Michael Friedrich 2016-07-19 17:36:14 +02:00
parent 73d0e75f6f
commit 3d06df96bc
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ Value ClusterEvents::CheckResultAPIHandler(const MessageOrigin::Ptr& origin, con
return Empty;
}
if (endpoint == checkable->GetCommandEndpoint())
if (Zone::GetLocalZone() == checkable->GetZone() && endpoint == checkable->GetCommandEndpoint())
checkable->ProcessCheckResult(cr);
else
checkable->ProcessCheckResult(cr, origin);