From cfe7f3dd9b0adb08af43e7a05d73e04d5cd38f74 Mon Sep 17 00:00:00 2001 From: hanzhixiao <709674996@qq.com> Date: Wed, 9 Aug 2023 11:01:07 +0800 Subject: [PATCH] 815 Signed-off-by: hanzhixiao <709674996@qq.com> --- tools/component/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/component/main.go b/tools/component/main.go index 618c3e2be..5c05a9f85 100644 --- a/tools/component/main.go +++ b/tools/component/main.go @@ -29,11 +29,13 @@ const ( cfgPath = "../../../../../config/config.yaml" minioHealthCheckDuration = 1 maxRetry = 3 - componentStartErr = 1705 + componentStartErrCode = 6000 + configErrCode = 6001 ) var ( ErrComponentStart = errs.NewCodeError(componentStartErr, "ComponentStartErr") + Errconfig = errs.NewCodeError(configErr, "") ) func initCfg() error {