blob: bb47ac4257a0a02be7c7aacffdf4d27d15c7be03 [file] [log] [blame]
Lorenz Brund13c1c62022-03-30 19:58:58 +02001--- a/grpc_testing/stub_server.go
2+++ b/grpc_testing/stub_server.go
3@@ -86,5 +86,5 @@ func (d dummyStubServer) UnaryCall(context.Context, *testpb.SimpleRequest) (*tes
4 // NewDummyStubServer creates a simple test server that serves Unary calls with
5 // responses with the given payload.
6 func NewDummyStubServer(body []byte) *StubServer {
7- return New(dummyStubServer{body: body})
8+ return New(&dummyStubServer{body: body})
9 }