1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

boltdb/bolt --> go.etcd.io/bbolt

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2018-09-11 15:12:55 -07:00
parent 1a6e2609ea
commit 5c20890b9b
7 changed files with 7 additions and 7 deletions

View file

@ -5,10 +5,10 @@ import (
"os"
"path/filepath"
"github.com/boltdb/bolt"
"github.com/docker/docker/layer"
"github.com/docker/docker/pkg/ioutils"
"github.com/pkg/errors"
bolt "go.etcd.io/bbolt"
"golang.org/x/sync/errgroup"
)

View file

@ -7,7 +7,6 @@ import (
"strings"
"sync"
"github.com/boltdb/bolt"
"github.com/containerd/containerd/mount"
"github.com/containerd/containerd/snapshots"
"github.com/docker/docker/daemon/graphdriver"
@ -16,6 +15,7 @@ import (
"github.com/moby/buildkit/snapshot"
digest "github.com/opencontainers/go-digest"
"github.com/pkg/errors"
bolt "go.etcd.io/bbolt"
)
var keyParent = []byte("parent")

View file

@ -12,7 +12,6 @@ import (
"sync"
"time"
"github.com/boltdb/bolt"
"github.com/docker/docker/builder"
"github.com/docker/docker/builder/remotecontext"
"github.com/docker/docker/pkg/archive"
@ -23,6 +22,7 @@ import (
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"github.com/tonistiigi/fsutil"
bolt "go.etcd.io/bbolt"
"golang.org/x/sync/singleflight"
)

View file

@ -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")

View file

@ -7,7 +7,7 @@ import (
"testing"
"time"
"github.com/boltdb/bolt"
bolt "go.etcd.io/bbolt"
"gotest.tools/assert"
is "gotest.tools/assert/cmp"
)

View file

@ -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.

View file

@ -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 (