Skip to content

Commit 83942b6

Browse files
committed
Fix missing call parameter
1 parent f443d66 commit 83942b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grpc-client-spring-boot-autoconfigure/src/test/java/net/devh/boot/grpc/client/inject/GrpcClientBeanPostProcessorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public static class Interceptor1 implements ClientInterceptor {
141141
public <ReqT, RespT> ClientCall<ReqT, RespT> interceptCall(
142142
final MethodDescriptor<ReqT, RespT> method,
143143
final CallOptions callOptions, final Channel next) {
144-
return next.newCall(null, callOptions);
144+
return next.newCall(method, callOptions);
145145
}
146146

147147
}
@@ -152,7 +152,7 @@ public static class Interceptor2 implements ClientInterceptor {
152152
public <ReqT, RespT> ClientCall<ReqT, RespT> interceptCall(
153153
final MethodDescriptor<ReqT, RespT> method,
154154
final CallOptions callOptions, final Channel next) {
155-
return next.newCall(null, callOptions);
155+
return next.newCall(method, callOptions);
156156
}
157157

158158
}

0 commit comments

Comments
 (0)