Skip to content

Commit

Permalink
修复当machine和其他serverapp的userID不相同时,使用cluster_controller得不到正确数据的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lupurs committed Mar 12, 2021
1 parent f1969b7 commit 1209370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kbe/src/lib/server/components.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ bool Components::updateComponentInfos(const Components::ComponentInfos* info)
return false;
}

Components::ComponentInfos* winfo = findComponent(info->cid);
Components::ComponentInfos* winfo = findComponent(info->componentType, info->cid);
if(winfo)
{
winfo->state = (COMPONENT_STATE)istate;
Expand Down

0 comments on commit 1209370

Please sign in to comment.