Skip to content
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 get -u k8s.io/apiserver/pkg/server/routes" fails #36

Closed
h8liu opened this issue Mar 29, 2018 · 2 comments
Closed

"go get -u k8s.io/apiserver/pkg/server/routes" fails #36

h8liu opened this issue Mar 29, 2018 · 2 comments

Comments

@h8liu
Copy link

h8liu commented Mar 29, 2018

go get -u k8s.io/apiserver/pkg/server/routes

Fails with:

# k8s.io/apiserver/pkg/server/routes
../go/src/k8s.io/apiserver/pkg/server/routes/openapi.go:38:91: cannot use c.RegisteredWebServices() (type []*"k8s.io/apiserver/vendor/github.com/emicklei/go-restful".WebService) as type []*"github.com/emicklei/go-restful".WebService in argument to handler.BuildAndRegisterOpenAPIService
../go/src/k8s.io/apiserver/pkg/server/routes/openapi.go:42:97: cannot use c.RegisteredWebServices() (type []*"k8s.io/apiserver/vendor/github.com/emicklei/go-restful".WebService) as type []*"github.com/emicklei/go-restful".WebService in argument to handler.BuildAndRegisterOpenAPIVersionedService

probably due to an out-of-date vendor.

@sttts
Copy link
Contributor

sttts commented Mar 29, 2018

We cannot ship a complete vendor/ dir in case of libraries. Otherwise, the library is not usable from your code. This is a Golang limitation we can't do much about (until maybe vgo becomes the standard vendoring tool).

@h8liu
Copy link
Author

h8liu commented Mar 29, 2018

so is it by design to leave it not go gettable here?

@h8liu h8liu closed this as completed Mar 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants