Skip to content
Snippets Groups Projects
Commit 3adfa82d authored by apolcyn's avatar apolcyn Committed by GitHub
Browse files

Merge pull request #9191 from apolcyn/fix_ruby_default_handler

change ruby default unimplemented ruby server handler to have two aguments
parents d611160f 2ec43d2d
No related branches found
No related tags found
No related merge requests found
...@@ -110,7 +110,7 @@ module GRPC ...@@ -110,7 +110,7 @@ module GRPC
rpc_descs[name] = RpcDesc.new(name, input, output, rpc_descs[name] = RpcDesc.new(name, input, output,
marshal_class_method, marshal_class_method,
unmarshal_class_method) unmarshal_class_method)
define_method(GenericService.underscore(name.to_s).to_sym) do define_method(GenericService.underscore(name.to_s).to_sym) do |_, _|
fail GRPC::BadStatus.new_status_exception( fail GRPC::BadStatus.new_status_exception(
GRPC::Core::StatusCodes::UNIMPLEMENTED) GRPC::Core::StatusCodes::UNIMPLEMENTED)
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment