Skip to content

Commit 5bbdb06

Browse files
authored
Merge pull request moby#50031 from vvoland/bbolt-1.4
vendor: go.etcd.io/bbolt v1.4.0
2 parents 3b1d2f7 + 2e25775 commit 5bbdb06

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+3158
-1612
lines changed

libnetwork/internal/kvstore/boltdb/boltdb.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import (
1313

1414
store "github.com/docker/docker/libnetwork/internal/kvstore"
1515
bolt "go.etcd.io/bbolt"
16+
berrors "go.etcd.io/bbolt/errors"
1617
)
1718

1819
const filePerm = 0o644
@@ -47,7 +48,7 @@ func New(path, bucket string) (store.Store, error) {
4748
Timeout: time.Nanosecond,
4849
})
4950
if err != nil {
50-
if errors.Is(err, bolt.ErrTimeout) {
51+
if errors.Is(err, berrors.ErrTimeout) {
5152
return nil, fmt.Errorf("boltdb file %s is already open", path)
5253
}
5354
return nil, err

vendor.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ require (
9797
github.com/vbatts/tar-split v0.12.1
9898
github.com/vishvananda/netlink v1.3.1
9999
github.com/vishvananda/netns v0.0.5
100-
go.etcd.io/bbolt v1.3.11
100+
go.etcd.io/bbolt v1.4.0
101101
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.56.0
102102
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.56.0
103103
go.opentelemetry.io/contrib/processors/baggagecopy v0.4.0

vendor.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,8 +598,8 @@ github.com/zmap/zcrypto v0.0.0-20210511125630-18f1e0152cfc h1:zkGwegkOW709y0oiAr
598598
github.com/zmap/zcrypto v0.0.0-20210511125630-18f1e0152cfc/go.mod h1:FM4U1E3NzlNMRnSUTU3P1UdukWhYGifqEsjk9fn7BCk=
599599
github.com/zmap/zlint/v3 v3.1.0 h1:WjVytZo79m/L1+/Mlphl09WBob6YTGljN5IGWZFpAv0=
600600
github.com/zmap/zlint/v3 v3.1.0/go.mod h1:L7t8s3sEKkb0A2BxGy1IWrxt1ZATa1R4QfJZaQOD3zU=
601-
go.etcd.io/bbolt v1.3.11 h1:yGEzV1wPz2yVCLsD8ZAiGHhHVlczyC9d1rP43/VCRJ0=
602-
go.etcd.io/bbolt v1.3.11/go.mod h1:dksAq7YMXoljX0xu6VF5DMZGbhYYoLUalEiSySYAS4I=
601+
go.etcd.io/bbolt v1.4.0 h1:TU77id3TnN/zKr7CO/uk+fBCwF2jGcMuw2B/FMAzYIk=
602+
go.etcd.io/bbolt v1.4.0/go.mod h1:AsD+OCi/qPN1giOX1aiLAha3o1U8rAz65bvN4j0sRuk=
603603
go.etcd.io/etcd/client/pkg/v3 v3.5.16 h1:ZgY48uH6UvB+/7R9Yf4x574uCO3jIx0TRDyetSfId3Q=
604604
go.etcd.io/etcd/client/pkg/v3 v3.5.16/go.mod h1:V8acl8pcEK0Y2g19YlOV9m9ssUe6MgiDSobSoaBAM0E=
605605
go.etcd.io/etcd/pkg/v3 v3.5.16 h1:cnavs5WSPWeK4TYwPYfmcr3Joz9BH+TZ6qoUtz6/+mc=

vendor/go.etcd.io/bbolt/.gitignore

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/go.etcd.io/bbolt/.go-version

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/go.etcd.io/bbolt/Makefile

Lines changed: 47 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/go.etcd.io/bbolt/OWNERS

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/go.etcd.io/bbolt/README.md

Lines changed: 59 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)