From 5181527ea05c49221dd6f87eb39d4df65986aa6d Mon Sep 17 00:00:00 2001 From: So Zhang Date: Wed, 23 Jan 2019 10:34:21 +0800 Subject: [PATCH] fix *bolt.Tx ==> *bbolt.Tx --- storage/bolt/importer/users.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/bolt/importer/users.go b/storage/bolt/importer/users.go index 5a98ffb9..43044b18 100644 --- a/storage/bolt/importer/users.go +++ b/storage/bolt/importer/users.go @@ -30,7 +30,7 @@ type oldUser struct { func readOldUsers(db *storm.DB) ([]*oldUser, error) { users := []*oldUser{} - err := db.Bolt.View(func(tx *bolt.Tx) error { + err := db.Bolt.View(func(tx *bbolt.Tx) error { return tx.Bucket([]byte("User")).ForEach(func(k []byte, v []byte) error { if len(v) > 0 && string(v)[0] == '{' { user := &oldUser{}