未验证 提交 585912da 编写于 作者: S SnailClimb 提交者: GitHub

Merge pull request #12 from xiaoleo911/feature-fupeng-20200906-fixAnnotation

修改注释
......@@ -35,7 +35,7 @@ public class NettyClientTransport implements ClientTransport {
public CompletableFuture<RpcResponse<Object>> sendRpcRequest(RpcRequest rpcRequest) {
// build return value
CompletableFuture<RpcResponse<Object>> resultFuture = new CompletableFuture<>();
// build rpc service name by ppcRequest
// build rpc service name by rpcRequest
String rpcServiceName = rpcRequest.toRpcProperties().toRpcServiceName();
// get server address
InetSocketAddress inetSocketAddress = serviceDiscovery.lookupService(rpcServiceName);
......
......@@ -32,7 +32,7 @@ public class SocketRpcClient implements ClientTransport {
@Override
public Object sendRpcRequest(RpcRequest rpcRequest) {
// build rpc service name by ppcRequest
// build rpc service name by rpcRequest
String rpcServiceName = RpcServiceProperties.builder().serviceName(rpcRequest.getInterfaceName())
.group(rpcRequest.getGroup()).version(rpcRequest.getVersion()).build().toRpcServiceName();
InetSocketAddress inetSocketAddress = serviceDiscovery.lookupService(rpcServiceName);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册