From 959903744d277b147e24758e2ceee4af55c19ea5 Mon Sep 17 00:00:00 2001 From: Aleksei Shashev Date: Thu, 16 May 2024 17:03:35 +0300 Subject: [PATCH] Fix gRPC method name generation for proxy request --- .../ru/tinkoff/tcb/mockingbird/grpc/GrpcRequestHandler.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/mockingbird/src/main/scala/ru/tinkoff/tcb/mockingbird/grpc/GrpcRequestHandler.scala b/backend/mockingbird/src/main/scala/ru/tinkoff/tcb/mockingbird/grpc/GrpcRequestHandler.scala index ee3ad047..097ea8af 100644 --- a/backend/mockingbird/src/main/scala/ru/tinkoff/tcb/mockingbird/grpc/GrpcRequestHandler.scala +++ b/backend/mockingbird/src/main/scala/ru/tinkoff/tcb/mockingbird/grpc/GrpcRequestHandler.scala @@ -89,7 +89,7 @@ class GrpcRequestHandlerImpl( result <- ClientCalls .unaryCall( channel, - Method.byteMethod(context.methodDescriptor.getServiceName, context.methodDescriptor.getFullMethodName), + Method.byteMethod(context.methodDescriptor.getServiceName, context.methodDescriptor.getBareMethodName), CallOptions.DEFAULT, context.metadata, bytes