-
Notifications
You must be signed in to change notification settings - Fork 135
Cannot find package running go get #140
Comments
ran with -v if it helps.
|
if you are using go 1.11 or go 1.12 (not 1.13) this should work for you: however it still returns some errors such as:
also importing kubernetes/kubernetes is problematic in general:
|
I'm stumped. Yes, the structure has changed in subsequent versions of upstream dependencies etcd and k/k. But isn't that precisely why we define specific versions in go.mod? |
@neolit123 Thanks for taking a look at this. WDYT if, once as part of this fix, I add a |
btw, i wasn't able to figure out why this is happening. |
@dlipovetsky actually it's probably due to this: etcdadm should stop importing k8s.io/kubernetes. there were similar issues logged in k/k and the response is similar. EDIT: ^ api-machinery/pkg/version is sufficient for pinning the binary version. |
Thanks to @neolit123 's work in #141, the issue is resolved in master:
However,
|
I released https://github.com/kubernetes-sigs/etcdadm/releases/tag/v0.1.2. I've verified |
This should be resolved now. |
Hello, I'm wondering if there is some kind of dependency mixup and/or if theres a disconnect with what running a build for this is expecting. Does something need to be updated?
When running a simple:
go get -u github.com/kubernetes-sigs/etcdadm
or
go get -u sigs.k8s.io/etcdadm
I get:
There certainly is no "version" under go/src/k8s.io/kubernetes/pkg:
the etcd dir has no snapshot as well:
I thought maybe i could try to use it anyways but obviously I don't get the binary in the end so I can't try it.
The text was updated successfully, but these errors were encountered: