fix: more

This commit is contained in:
Shengliang Guan 2023-01-17 10:46:31 +08:00
parent ca33abe26c
commit e155757ac6
1 changed files with 2 additions and 2 deletions

View File

@ -516,8 +516,8 @@ _OVER:
for (int32_t j = 0; j < (int32_t)taosArrayGetSize(pData->dnodeEps); ++j) {
SDnodeEp *pDnodeEp = taosArrayGet(pData->dnodeEps, j);
if (pDnodeEp->id == pair->id) {
tstrncpy(pair->oldFqdn, pair->newFqdn, TSDB_FQDN_LEN);
pair->oldPort = pair->newPort;
tstrncpy(pair->oldFqdn, pDnodeEp->ep.fqdn, TSDB_FQDN_LEN);
pair->oldPort = pDnodeEp->ep.port;
}
}
}