-
Notifications
You must be signed in to change notification settings - Fork 99
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
Failed to go build -o wsk using README.md instructions due to older client-go version #398
Comments
@nitishm, have you tried |
I haven't tried that yet. I used the |
I reproduced this same error... btw, we need to nuke gradle in this repo and just use native go build it's 1000x faster. |
@nitishm bumping the hashes for the client resolves the concurrency issue:
|
Thanks @rabbah I will try that ! |
The problem comes about because of multiple references to the |
* Update README for running tests with Go and add an action test. * Bump vendors. * Update docs for #398.
@rabbah, can this be closed now? |
I documented a workaround - I don't think this is the ideal solution - there's a packaging confusion between wskdeploy and the cli that should be avoided and fixed. |
I cannot get the wsk CLI to build, following the README.md instructions page.
The
go build -o wsk
command fails with the following error -I can resolve the
cobra
errors by deleting the package from the vendor dir (not ideal), but the other issue,, seems to be stemming from a mismatched client-go version.
I can see the master branch for github.com/apache/incubator-openwhisk-client-go/ now has the
Concurrency
field added to theLimits
struct (https://github.com/apache/incubator-openwhisk-client-go/blob/master/whisk/shared.go#L100), butgo get
seems to fetch an older commit of the client-go library causing the build to fail.The text was updated successfully, but these errors were encountered: