提交 eef910f7 编写于 作者: M Minghao Li

sync integration vnodeCfg cJson->SJson

上级 d7edb105
......@@ -141,7 +141,7 @@ int vnodeDecodeConfig(const SJson *pJson, void *pObj) {
assert(arraySize == pCfg->syncCfg.replicaNum);
for (int i = 0; i < arraySize; ++i) {
cJSON *pNodeInfo = tjsonGetArrayItem(pNodeInfoArr, i);
SJson *pNodeInfo = tjsonGetArrayItem(pNodeInfoArr, i);
assert(pNodeInfo != NULL);
tjsonGetNumberValue(pNodeInfo, "nodePort", (pCfg->syncCfg.nodeInfo)[i].nodePort);
tjsonGetStringValue(pNodeInfo, "nodeFqdn", (pCfg->syncCfg.nodeInfo)[i].nodeFqdn);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册