erda-project/erda

Potential conflict import path for coreos/etcd.

Closed this issue · 1 comments

What would you like to be added:

This project erda-project/erda depends on github.com/etcd-io/etcd which already opted into module and redirects(or rename) its import path from "github.com/coreos/etcd" to "github.com/etcd-io/etcd" . You import github.com/etcd-io/etcd through the old path "github.com/coreos/etcd" . But when downstream module users try to get github.com/etcd-io/etcd through the indirect path "github.com/coreos/etcd" from erda-project/erda, they will easily get build errors:
> go get: github.com/coreos/etcd : parsing go.mod:
> module declares its path as: github.com/etcd-io/etcd
> but was required as: github.com/coreos/etcd

Why is this needed:

Replace all the old import paths, replace "github.com/coreos/etcd" with "github.com/etcd-io/etcd.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.