Signed-off-by: hanzhixiao <709674996@qq.com>
This commit is contained in:
hanzhixiao 2023-08-09 11:01:07 +08:00
parent fee6c3e6ba
commit cfe7f3dd9b

View File

@ -29,11 +29,13 @@ const (
cfgPath = "../../../../../config/config.yaml" cfgPath = "../../../../../config/config.yaml"
minioHealthCheckDuration = 1 minioHealthCheckDuration = 1
maxRetry = 3 maxRetry = 3
componentStartErr = 1705 componentStartErrCode = 6000
configErrCode = 6001
) )
var ( var (
ErrComponentStart = errs.NewCodeError(componentStartErr, "ComponentStartErr") ErrComponentStart = errs.NewCodeError(componentStartErr, "ComponentStartErr")
Errconfig = errs.NewCodeError(configErr, "")
) )
func initCfg() error { func initCfg() error {