-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go module install etcd go.etcd.io/etcd/clientv3 will install a version from the wrong repo #10398
Comments
Assuming that you do not want to break existing users of |
cc @jpbetz |
I experience a similar problem with Go 1.12, where I get following error during compilation when using the go.etcd.io/etcd/clientv3 package:
(Available at https://github.com/tus/tusd/blob/master/etcd3locker/locker.go#L140) I am not entirely sure if it's related but this issue only started appearing after I activated the Go module support. Are there any known workarounds? |
@Acconut for now your going to need to use |
The go.etcd.io/etcd package has not yet been officially released and using it caused problems in conjunction with Go Modules. (see etcd-io/etcd#10398 (comment))
@hexfusion Thank you very much, I wasn't aware that this version is not yet released. Using github.com/coreos/etcd fixed my issues. |
same issue, such a big mess! |
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. |
go module install etcd go.etcd.io/etcd/clientv3 will install a version from the wrong repo:
My mod file says:
go.etcd.io/etcd v3.3.11+incompatible
but when I go to the vendor directory, all of the files have references to the coreos repo.
The text was updated successfully, but these errors were encountered: