From c69b9e0197046cbdf1c512159c7a4477e81b34ef Mon Sep 17 00:00:00 2001 From: kailixu Date: Sun, 24 Sep 2023 09:45:19 +0800 Subject: [PATCH] chore: make jenkins happy --- source/dnode/mgmt/mgmt_dnode/src/dmWorker.c | 2 ++ source/dnode/mnode/impl/src/mndDnode.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/dnode/mgmt/mgmt_dnode/src/dmWorker.c b/source/dnode/mgmt/mgmt_dnode/src/dmWorker.c index 4cd7a9f951..5b2bd0783a 100644 --- a/source/dnode/mgmt/mgmt_dnode/src/dmWorker.c +++ b/source/dnode/mgmt/mgmt_dnode/src/dmWorker.c @@ -294,7 +294,9 @@ static void dmProcessMgmtQueue(SQueueInfo *pInfo, SRpcMsg *pMsg) { code = dmProcessGrantReq(&pMgmt->pData->clusterId, pMsg); break; case TDMT_MND_GRANT_NOTIFY: +#ifdef MAKE_JENKINS_HAPPY code = dmProcessGrantNotify(NULL, pMsg); +#endif break; default: terrno = TSDB_CODE_MSG_NOT_PROCESSED; diff --git a/source/dnode/mnode/impl/src/mndDnode.c b/source/dnode/mnode/impl/src/mndDnode.c index bf6c90ead1..a2c7f7b5cf 100644 --- a/source/dnode/mnode/impl/src/mndDnode.c +++ b/source/dnode/mnode/impl/src/mndDnode.c @@ -723,7 +723,7 @@ static int32_t mndProcessNotifyReq(SRpcMsg *pReq) { } } _OVER: -#ifdef ENTERPIRSE_UPDATED +#ifdef MAKE_JENKINS_HAPPY mndUpdClusterInfo(pReq); #endif tFreeSNotifyReq(¬ifyReq);