Skip to content

Commit 5c20890

Browse files
author
John Howard
committed
boltdb/bolt --> go.etcd.io/bbolt
Signed-off-by: John Howard <[email protected]>
1 parent 1a6e260 commit 5c20890

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

builder/builder-next/adapters/snapshot/layer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import (
55
"os"
66
"path/filepath"
77

8-
"github.com/boltdb/bolt"
98
"github.com/docker/docker/layer"
109
"github.com/docker/docker/pkg/ioutils"
1110
"github.com/pkg/errors"
11+
bolt "go.etcd.io/bbolt"
1212
"golang.org/x/sync/errgroup"
1313
)
1414

builder/builder-next/adapters/snapshot/snapshot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"strings"
88
"sync"
99

10-
"github.com/boltdb/bolt"
1110
"github.com/containerd/containerd/mount"
1211
"github.com/containerd/containerd/snapshots"
1312
"github.com/docker/docker/daemon/graphdriver"
@@ -16,6 +15,7 @@ import (
1615
"github.com/moby/buildkit/snapshot"
1716
digest "github.com/opencontainers/go-digest"
1817
"github.com/pkg/errors"
18+
bolt "go.etcd.io/bbolt"
1919
)
2020

2121
var keyParent = []byte("parent")

builder/fscache/fscache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import (
1212
"sync"
1313
"time"
1414

15-
"github.com/boltdb/bolt"
1615
"github.com/docker/docker/builder"
1716
"github.com/docker/docker/builder/remotecontext"
1817
"github.com/docker/docker/pkg/archive"
@@ -23,6 +22,7 @@ import (
2322
"github.com/pkg/errors"
2423
"github.com/sirupsen/logrus"
2524
"github.com/tonistiigi/fsutil"
25+
bolt "go.etcd.io/bbolt"
2626
"golang.org/x/sync/singleflight"
2727
)
2828

volume/service/db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ package service // import "github.com/docker/docker/volume/service"
33
import (
44
"encoding/json"
55

6-
"github.com/boltdb/bolt"
76
"github.com/docker/docker/errdefs"
87
"github.com/pkg/errors"
98
"github.com/sirupsen/logrus"
9+
bolt "go.etcd.io/bbolt"
1010
)
1111

1212
var volumeBucketName = []byte("volumes")

volume/service/db_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"testing"
88
"time"
99

10-
"github.com/boltdb/bolt"
10+
bolt "go.etcd.io/bbolt"
1111
"gotest.tools/assert"
1212
is "gotest.tools/assert/cmp"
1313
)

volume/service/restore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"context"
55
"sync"
66

7-
"github.com/boltdb/bolt"
87
"github.com/docker/docker/volume"
98
"github.com/sirupsen/logrus"
9+
bolt "go.etcd.io/bbolt"
1010
)
1111

1212
// restore is called when a new volume store is created.

volume/service/store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ import (
1212

1313
"github.com/pkg/errors"
1414

15-
"github.com/boltdb/bolt"
1615
"github.com/docker/docker/errdefs"
1716
"github.com/docker/docker/pkg/locker"
1817
"github.com/docker/docker/volume"
1918
"github.com/docker/docker/volume/drivers"
2019
volumemounts "github.com/docker/docker/volume/mounts"
2120
"github.com/docker/docker/volume/service/opts"
2221
"github.com/sirupsen/logrus"
22+
bolt "go.etcd.io/bbolt"
2323
)
2424

2525
const (

0 commit comments

Comments
 (0)