You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I add replace github.com/optiopay/kafka => github.com/cilium/kafka v0.0.0-20180809090225-01ce283b732b to my go.mod under tools-v2/ package. Then run go mod tidy, everything works well.
replace (
...
github.com/optiopay/kafka => github.com/cilium/kafka v0.0.0-20180809090225-01ce283b732b
go.universe.tf/metallb => github.com/cilium/metallb v0.1.1-0.20220829170633-5d7dfb1129f7
k8s.io/client-go => github.com/cilium/client-go v0.0.0-20220824093223-b6557c021e53
// Using private fork of controller-tools. See commit msg for more context
// as to why we are using a private fork.
sigs.k8s.io/controller-tools => github.com/cilium/controller-tools v0.6.2
)
seems it's better to add the replace statement in master branch
Errors when sync dependencies of github.com/opencurve/curve/tools-v2
When I tried to sync the dependecies, an error occured:
I found
kafka
is incilium
's go.modI googled and get an answer which hits the same error as mine, not sure it is the real reason. See go mod fails to find version v0.0.0-00010101000000-000000000000 of a dependency
So I add
replace github.com/optiopay/kafka => github.com/cilium/kafka v0.0.0-20180809090225-01ce283b732b
to my go.mod undertools-v2/
package. Then rungo mod tidy
, everything works well.Now my go.mod looks like:
output of my
go env
:Any ideas of what causes this dependency error? Or it's just me with my config of
go
having this problem😭The text was updated successfully, but these errors were encountered: