Open corylanou opened 3 years ago
so apparently, this occurs if you do the following:
go get -u -v github.com/fullstorydev/grpcurl/cmd/grpcurl@v1.7.0
go install github.com/fullstorydev/grpcurl/cmd/grpcurl
Running go mod tidy
however, after each step, will actually result in success. I know this isn't your fault, but a fault of how go mods works (hopefully 1.16 fixes this with the new explicit install command). However, it might be worth updating install directions on the README.md to call this out explicity.
Yep, I am aware of the breakage; it impacts grpcui in the same way.
The problem is that running go get
or go install
when you're not in a workspace will default to GOPATH mode, and just get latest of all dependencies instead of the pinned one. Before updating the README, I'm waiting to see what the right ultimate solution will be. My hope is that this is temporary, caused by an incompatibility/breakage in the downstream cncf/udpa repo, which could be fixed by an update to the gRPC repo (which is what uses that repo and pins a particular past version).
If you try to install the tool, you currently get:
I tried using the latest tagged version as well via
go get
, but the same issue exists there as well. This is a downstream mod issue with https://github.com/cncf/udpa not apparently having a version tag, but they have since updated that it appears.