diff --git a/common/config.go b/common/config.go index 8f5ded3..1eeb246 100644 --- a/common/config.go +++ b/common/config.go @@ -100,7 +100,7 @@ func checkConfig() error { return errors.New("TimeoutToFail should not be less than RetryInterval") } if Config.Store.Driver == BoltDb { - return errors.New("Db driver type error ") + return nil } if Config.Store.Driver == Mysql { if Config.Store.Host == "" {