Skip to content

recompile proto #20

Merged
jxx-gg merged 2 commits intomasterfrom
update-proto
Mar 1, 2021
Merged

recompile proto #20
jxx-gg merged 2 commits intomasterfrom
update-proto

Conversation

@jxx-gg
Copy link
Copy Markdown
Contributor

@jxx-gg jxx-gg commented Mar 1, 2021

tunnel_grpc.pb.go was merged into the tunnelpb.go file.

@jxx-gg jxx-gg merged commit 6f44b96 into master Mar 1, 2021
@jxx-gg jxx-gg deleted the update-proto branch March 1, 2021 17:14

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion6
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this was intentional or not, but this is downgrade of the method of compiling the proto code to Go. The new method uses a separate protoc plugin for generating the grpc service: google.golang.org/grpc/cmd/protoc-gen-go-grpc. You should end up with a separate _grpc.pb.go file.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for catching this. it was generated by compile_proto.sh, which seems to be using --go_out=plugins=grpc,.

will update the script shortly.

@marcoroma-1993
Copy link
Copy Markdown

Hi, how can i install gnoi on linux machine?

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

Successfully merging this pull request may close these issues.

3 participants