refactor error code
This commit is contained in:
parent
5172d3cd8a
commit
9d506d20f1
|
@ -218,9 +218,10 @@ int32_t dmProcessConfigReq(SDnodeMgmt *pMgmt, SRpcMsg *pMsg) {
|
|||
SConfig *pCfg = taosGetCfg();
|
||||
|
||||
code = cfgSetItem(pCfg, cfgReq.config, cfgReq.value, CFG_STYPE_ALTER_CMD, true);
|
||||
if (code != 0) {
|
||||
return code;
|
||||
}
|
||||
// not care succ or not
|
||||
// if (code != 0) {
|
||||
// return code;
|
||||
// }
|
||||
|
||||
return taosCfgDynamicOptions(pCfg, cfgReq.config, true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue