commit | 5f8318f96dd377a7a7b219753911cad73818192f | [log] [tgz] |
---|---|---|
author | Cosmos Nicolaou <cnicolaou@google.com> | Thu Nov 06 09:19:52 2014 -0800 |
committer | Cosmos Nicolaou <cnicolaou@google.com> | Thu Nov 06 09:19:52 2014 -0800 |
tree | 4afaf81b2730a00bd3999c9e4b421aa6460e9d08 | |
parent | 252fe5f4eeb84c0521a3132d7afb82850b6130a7 [diff] |
Partially fix breakage following: https://veyron-review.googlesource.com/#/c/6278/ but a further fix is needed for: https://veyron-review.googlesource.com/#/c/6373/ Change-Id: I1da390497ad28ff3a0f5b7a420cfb0eb923d4d95
diff --git a/runtimes/google/ipc/benchmarks/server.go b/runtimes/google/ipc/benchmarks/server.go index b01f59f..36cfdb8 100644 --- a/runtimes/google/ipc/benchmarks/server.go +++ b/runtimes/google/ipc/benchmarks/server.go
@@ -12,11 +12,11 @@ type impl struct { } -func (i *impl) Echo(ctx ipc.ServerContext, payload []byte) ([]byte, error) { +func (i *impl) Echo(ctx ipc.ServerCall, payload []byte) ([]byte, error) { return payload, nil } -func (i *impl) EchoStream(ctx ipc.ServerContext, stream BenchmarkServiceEchoStreamStream) error { +func (i *impl) EchoStream(ctx ipc.ServerCall, stream BenchmarkServiceEchoStreamStream) error { rStream := stream.RecvStream() sender := stream.SendStream() for rStream.Advance() {