Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Fix canonical package name of the bbolt package
Browse files Browse the repository at this point in the history
This is a very indirect dependency, via eirinix, cobra, viper, etcd. The
initial problem is in etcd-v3.3, with an incorrect import of
github.com/coreos/bbolt. This is fixed in etcd-v3.4, however, etcd-v3.4
is not a correct go module, and cannot be included in a go mod project!
So everyone must wait for etcd-v3.5 to be released with the fix. See
etcd-io/etcd#11154 (comment).

Until then, we can rename bbolt. Fixing to v1.3.5 is unfortunately
required by go.mod's syntax. It should be upgraded if bbolt releases
again.

Signed-off-by: Danail Branekov <danailster@gmail.com>
  • Loading branch information
Kieron Browne committed Aug 19, 2020
1 parent 84a1ca6 commit f5f48da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module code.cloudfoundry.org/eirini
go 1.13

replace (
github.com/coreos/bbolt => go.etcd.io/bbolt v1.3.5
github.com/go-logr/logr => github.com/go-logr/logr v0.1.0
github.com/googleapis/gnostic => github.com/googleapis/gnostic v0.4.0
k8s.io/client-go => k8s.io/client-go v0.18.6
Expand Down

0 comments on commit f5f48da

Please sign in to comment.