fix(test): fix syntax error.

This commit is contained in:
Haojun Liao 2024-05-08 09:18:36 +08:00
parent cdeb4462fb
commit 64ae35affe
1 changed files with 5 additions and 1 deletions

View File

@ -92,7 +92,11 @@ SRpcMsg buildHbReq() {
}
tEncoderClear(&encoder);
initRpcMsg(&msg1, TDMT_MND_STREAM_HEARTBEAT, buf, tlen);
{
msg1.msgType = TDMT_MND_STREAM_HEARTBEAT;
msg1.pCont = buf;
msg1.contLen = tlen;
}
taosArrayDestroy(msg.pTaskStatus);
return msg1;