提交 c4ea9a30 authored 作者: blu's avatar blu

big refacting of communitation architect

上级 2aa5fad2
...@@ -134,11 +134,11 @@ class EvDaemon{ ...@@ -134,11 +134,11 @@ class EvDaemon{
string peerName; string peerName;
ret = cfgutils::getPeerId(mn, m, peerId, peerName); ret = cfgutils::getPeerId(mn, m, peerId, peerName);
if(ret != 0) { if(ret != 0) {
// TODO: cleanup and reload // TODO
} }
this->peerData["config"][peerId] = v; this->peerData["config"][peerId] = v;
if(this->peerData["status"].count(peerId) == 0||this->peerData["status"][peerId] == 0) { if(this->peerData["status"].count(peerId) == 0||this->peerData["status"][peerId] == 0) {
this->peerData["status"][peerId] = 0; this->peerData["status"][peerId] = 0;
if(bootType == 1 || (bootType == 3 && subModGid == peerId)){ if(bootType == 1 || (bootType == 3 && subModGid == peerId)){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论