From f6b8ce74e71568b3672c925e77b150521c98376e Mon Sep 17 00:00:00 2001 From: zhaohaifei <32253291+zhaohaifei@users.noreply.github.com> Date: Tue, 15 Mar 2022 17:03:37 +0800 Subject: [PATCH] fixed --- src/meta/processors/admin/VerifyClientVersionProcessor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/meta/processors/admin/VerifyClientVersionProcessor.cpp b/src/meta/processors/admin/VerifyClientVersionProcessor.cpp index df00c1cdbff..ab400bc4cca 100644 --- a/src/meta/processors/admin/VerifyClientVersionProcessor.cpp +++ b/src/meta/processors/admin/VerifyClientVersionProcessor.cpp @@ -31,8 +31,7 @@ void VerifyClientVersionProcessor::process(const cpp2::VerifyClientVersionReq& r auto versionVal = MetaKeyUtils::versionVal(req.get_build_version().c_str()); std::vector versionData; versionData.emplace_back(std::move(versionKey), std::move(versionVal)); - doSyncPut(versionData); - resp_.code_ref() = nebula::cpp2::ErrorCode::SUCCEEDED; + handleErrorCode(doSyncPut(versionData)); } onFinished(); }