multi: switch from bolt packge to bbolt package for all imports
This commit is contained in:
41 files changed
+404
-405
No files matched your search
@@ -21,8 +21,8 @@ func TestStore(t *testing.T) {
|
||||
}
|
||||
defer os.RemoveAll(tempDir)
|
||||
|
||||
db, err := bolt.Open(path.Join(tempDir, "weks.db"), 0600,
|
||||
bolt.DefaultOptions)
|
||||
db, err := bbolt.Open(path.Join(tempDir, "weks.db"), 0600,
|
||||
bbolt.DefaultOptions)
|
||||
if err != nil {
|
||||
t.Fatalf("Error opening store DB: %v", err)
|
||||
}
|
||||
@@ -75,8 +75,8 @@ func TestStore(t *testing.T) {
|
||||
// Between here and the re-opening of the store, it's possible to get
|
||||
// a double-close, but that's not such a big deal since the tests will
|
||||
// fail anyway in that case.
|
||||
db, err = bolt.Open(path.Join(tempDir, "weks.db"), 0600,
|
||||
bolt.DefaultOptions)
|
||||
db, err = bbolt.Open(path.Join(tempDir, "weks.db"), 0600,
|
||||
bbolt.DefaultOptions)
|
||||
if err != nil {
|
||||
t.Fatalf("Error opening store DB: %v", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user