Lorenz Brun | d13c1c6 | 2022-03-30 19:58:58 +0200 | [diff] [blame] | 1 | --- 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 | } |