summaryrefslogtreecommitdiff
path: root/volume
diff options
context:
space:
mode:
authorJohn Howard <jhoward@microsoft.com>2018-09-11 15:12:55 -0700
committerJohn Howard <jhoward@microsoft.com>2018-09-13 12:38:39 -0700
commit5c20890b9b395564e18e4f8295539bcb8bf3d0de (patch)
tree3a5df22c048c58005751835ff6e4b25dd7fd13f4 /volume
parent1a6e2609ead86144b75067bfe5154dad5e42d5cf (diff)
downloaddocker-5c20890b9b395564e18e4f8295539bcb8bf3d0de.tar.gz
boltdb/bolt --> go.etcd.io/bbolt
Signed-off-by: John Howard <jhoward@microsoft.com>
Diffstat (limited to 'volume')
-rw-r--r--volume/service/db.go2
-rw-r--r--volume/service/db_test.go2
-rw-r--r--volume/service/restore.go2
-rw-r--r--volume/service/store.go2
4 files changed, 4 insertions, 4 deletions
diff --git a/volume/service/db.go b/volume/service/db.go
index 3b31f7bf14..d48ae544a4 100644
--- a/volume/service/db.go
+++ b/volume/service/db.go
@@ -3,10 +3,10 @@ package service // import "github.com/docker/docker/volume/service"
import (
"encoding/json"
- "github.com/boltdb/bolt"
"github.com/docker/docker/errdefs"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
+ bolt "go.etcd.io/bbolt"
)
var volumeBucketName = []byte("volumes")
diff --git a/volume/service/db_test.go b/volume/service/db_test.go
index 4cac9176b7..8b6295adfd 100644
--- a/volume/service/db_test.go
+++ b/volume/service/db_test.go
@@ -7,7 +7,7 @@ import (
"testing"
"time"
- "github.com/boltdb/bolt"
+ bolt "go.etcd.io/bbolt"
"gotest.tools/assert"
is "gotest.tools/assert/cmp"
)
diff --git a/volume/service/restore.go b/volume/service/restore.go
index 55c66c4f42..6741f9ec5f 100644
--- a/volume/service/restore.go
+++ b/volume/service/restore.go
@@ -4,9 +4,9 @@ import (
"context"
"sync"
- "github.com/boltdb/bolt"
"github.com/docker/docker/volume"
"github.com/sirupsen/logrus"
+ bolt "go.etcd.io/bbolt"
)
// restore is called when a new volume store is created.
diff --git a/volume/service/store.go b/volume/service/store.go
index e7e9d8a320..69a6c7bec9 100644
--- a/volume/service/store.go
+++ b/volume/service/store.go
@@ -12,7 +12,6 @@ import (
"github.com/pkg/errors"
- "github.com/boltdb/bolt"
"github.com/docker/docker/errdefs"
"github.com/docker/docker/pkg/locker"
"github.com/docker/docker/volume"
@@ -20,6 +19,7 @@ import (
volumemounts "github.com/docker/docker/volume/mounts"
"github.com/docker/docker/volume/service/opts"
"github.com/sirupsen/logrus"
+ bolt "go.etcd.io/bbolt"
)
const (