“8baf3ae0c9a9473e4860cd205e6c24214de78be5”上不存在“...11-data-subscription/share/share-topic-addusergroup.webp”
提交 ad02a396 编写于 作者: S Shengliang Guan

fix: minor changes

上级 136247d7
......@@ -26,7 +26,7 @@ static int32_t mmDecodeOption(SJson *pJson, SMnodeOpt *pOption) {
if (code < 0) return 0;
SJson *replicas = tjsonGetObjectItem(pJson, "replicas");
if (replicas == NULL) return -1;
if (replicas == NULL) return 0;
pOption->numOfReplicas = tjsonGetArraySize(replicas);
for (int32_t i = 0; i < pOption->numOfReplicas; ++i) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册