-
Notifications
You must be signed in to change notification settings - Fork 328
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
unable to use vendor as development library #92
Comments
Following this page (https://github.com/golang/go/wiki/Modules#faqs--multi-module-repositories) descirption. I push a new tag
But, I got another one
|
Let me sort out the reference method of the dependency, minimize the use of |
Thanks, when will it be ready? |
It's ok, but you need add replace to your project:
In kubernetes 1.17.0 and above, the git.etcd.io/etcd package has been referenced by default. If dex/chartmuseum and kubernetes are referenced in the same project, it will cause etcd's authpb to be registered repeatedly and panic will occur. |
Seems not working @choujimmy the fatal error is
module github.com/John-Lin/client
go 1.13
replace (
// wait https://github.com/chartmuseum/storage/pull/34 to be merged
github.com/chartmuseum/storage => github.com/choujimmy/storage v0.5.1-0.20191225102245-210f7683d0a6
github.com/deislabs/oras => github.com/deislabs/oras v0.8.0
// wait https://github.com/dexidp/dex/pull/1607 to be merged
github.com/dexidp/dex => github.com/choujimmy/dex v0.0.0-20191225100859-b1cb4b898bb7
k8s.io/client-go => k8s.io/client-go v0.17.0
tkestack.io/tke => github.com/tkestack/tke v1.0.1
)
require tkestack.io/tke v1.0.1 |
it looks like next release will fixed |
Signed-off-by: duyanghao <1294057873@qq.com>
What happened:
I'm trying to import
tkeclientset
as my development library.What you expected to happen:
go mod vendor -v
without errorHow to reproduce it (as minimally and precisely as possible):
go.mod
andmain.go
runninggo mod vendor -v
Anything else we need to know?:
Environment:
kubectl version
): NoneThe text was updated successfully, but these errors were encountered: