fix update mgmt epset issue

This commit is contained in:
dapan1121 2022-05-26 21:16:06 +08:00
parent a491db6cfe
commit 782ad93dc9
1 changed files with 6 additions and 6 deletions

View File

@ -745,12 +745,12 @@ void processMsgFromServer(void* parent, SRpcMsg* pMsg, SEpSet* pEpSet) {
pRequest->metric.rsp = taosGetTimestampUs(); pRequest->metric.rsp = taosGetTimestampUs();
STscObj* pTscObj = pRequest->pTscObj; //STscObj* pTscObj = pRequest->pTscObj;
if (pEpSet) { //if (pEpSet) {
if (!isEpsetEqual(&pTscObj->pAppInfo->mgmtEp.epSet, pEpSet)) { // if (!isEpsetEqual(&pTscObj->pAppInfo->mgmtEp.epSet, pEpSet)) {
updateEpSet_s(&pTscObj->pAppInfo->mgmtEp, pEpSet); // updateEpSet_s(&pTscObj->pAppInfo->mgmtEp, pEpSet);
} // }
} //}
/* /*
* There is not response callback function for submit response. * There is not response callback function for submit response.