Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: log prints incorrect method(#684)

YL1028K68f5af01d9d5
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 {