build: disallow old boltdb during build

This commit is contained in:
Seth Hoenig 2022-02-23 14:15:12 -06:00
parent ca84ba12ac
commit 0420724c14
2 changed files with 2 additions and 1 deletions

View File

@ -60,6 +60,7 @@ linters-settings:
list-type: blacklist
packages:
- github.com/hashicorp/consul/command/flags
- github.com/boltdb/bolt
gocritic:
disabled-checks:
- commentFormatting

2
go.mod
View File

@ -19,7 +19,6 @@ require (
github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e
github.com/armon/go-metrics v0.3.10
github.com/aws/aws-sdk-go v1.42.27
github.com/boltdb/bolt v1.3.1
github.com/container-storage-interface/spec v1.4.0
github.com/containerd/go-cni v1.1.1
github.com/containernetworking/cni v1.0.1
@ -156,6 +155,7 @@ require (
github.com/bgentry/speakeasy v0.1.0 // indirect
github.com/bits-and-blooms/bitset v1.2.0 // indirect
github.com/bmatcuk/doublestar v1.1.5 // indirect
github.com/boltdb/bolt v1.3.1 // indirect
github.com/census-instrumentation/opencensus-proto v0.3.0 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/checkpoint-restore/go-criu/v5 v5.0.0 // indirect