From 950835e1fcc6a2eaa79dbb0d3e9b1a5d9436e0be Mon Sep 17 00:00:00 2001 From: slzhou Date: Wed, 18 May 2022 12:16:28 +0800 Subject: [PATCH] fix: set correct udf output type when retrieve from mnode --- source/libs/function/src/udfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/function/src/udfd.c b/source/libs/function/src/udfd.c index cbb2e7f362..006914bf65 100644 --- a/source/libs/function/src/udfd.c +++ b/source/libs/function/src/udfd.c @@ -139,7 +139,7 @@ void udfdProcessRpcRsp(void *parent, SRpcMsg *pMsg, SEpSet *pEpSet) { SUdf* udf = msgInfo->param; udf->funcType = pFuncInfo->funcType; udf->scriptType = pFuncInfo->scriptType; - udf->outputType = pFuncInfo->funcType; + udf->outputType = pFuncInfo->outputType; udf->outputLen = pFuncInfo->outputLen; udf->bufSize = pFuncInfo->bufSize;