From f4a51672f3a97f772b370b51f89b59b05cda35cd Mon Sep 17 00:00:00 2001 From: lixiaoshuang <644968328@qq.com> Date: Sun, 19 Dec 2021 16:41:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0mysql=20=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 == "" {