grpc-gateway: `go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway` fails on clean environment
Steps you follow to reproduce the error:
- Move into a clean environment:
docker run -it golang:1.10.3 bash
- Run
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
That fails with an error:
# github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor
src/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/services.go:146:49: opts.ResponseBody undefined (type *annotations.HttpRule has no field or method ResponseBody)
This commit is responsible for that: https://github.com/grpc-ecosystem/grpc-gateway/commit/e679739db1dec33f243ca6cd7a4f05909a801fe1
That just broke our master, and I see that the CI here isn’t running as well on that commit.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 21 (4 by maintainers)
I’ve just ran this test case and this has worked for me.
I also see no issue on the CI here.
Please reopen if you still see issues you directly correlate to the quoted commit.