Skip to content

Commit

Permalink
api: re-generate protobuf code
Browse files Browse the repository at this point in the history
Changes from ba6565ff6bf66e200842c7e6ab7112caa845d98a require to
re-generate protbuf related files.

Note that to register services using the methods generated by
`protoc-gen-go-grpc`, the service implementations must embed the
corresponding `Unimplemented<ServiceName>Server` for future
compatibility.  This is a behavior change from the grpc code generator
previously included with `protoc-gen-go`. One could optionally restore
the old behavior by passing the option
`requireUnimplementedServers=false` when generating files but this is
not recommended.

The 3 structs which implement the observer and peer services now embed
the respective `Unimplemented<ServiceName>Server` structs.

Signed-off-by: Robin Hahling <robin.hahling@gw-computing.net>
  • Loading branch information
rolinh committed Aug 4, 2020
1 parent 56e17d5 commit 421b8ce
Show file tree
Hide file tree
Showing 9 changed files with 313 additions and 283 deletions.
8 changes: 5 additions & 3 deletions api/v1/flow/flow.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

161 changes: 6 additions & 155 deletions api/v1/observer/observer.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

158 changes: 158 additions & 0 deletions api/v1/observer/observer_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 421b8ce

Please sign in to comment.