You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by li...@apache.org on 2023/12/15 09:07:39 UTC

(incubator-answer) branch main updated: fix: log prints incorrect method(#684)

This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git


The following commit(s) were added to refs/heads/main by this push:
     new 68f5af01 fix: log prints incorrect method(#684)
68f5af01 is described below

commit 68f5af01d9d57fbfe7b7920dd91ff4f62029ac59
Author: YL1028K <37...@qq.com>
AuthorDate: Fri Dec 15 16:27:38 2023 +0800

    fix: log prints incorrect method(#684)
---
 internal/migrations/migrations.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/internal/migrations/migrations.go b/internal/migrations/migrations.go
index a6163516..41515383 100644
--- a/internal/migrations/migrations.go
+++ b/internal/migrations/migrations.go
@@ -130,7 +130,7 @@ func ExpectedVersion() int64 {
 func Migrate(debug bool, dbConf *data.Database, cacheConf *data.CacheConf, upgradeToSpecificVersion string) error {
 	cache, cacheCleanup, err := data.NewCache(cacheConf)
 	if err != nil {
-		fmt.Println("new check failed:", err.Error())
+		fmt.Println("new cache failed:", err.Error())
 	}
 	engine, err := data.NewDB(debug, dbConf)
 	if err != nil {