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 {