Skip to content
Snippets Groups Projects
Commit c0868a33 authored by watermelo's avatar watermelo
Browse files

Mod: remove unuseful code at dubbo/pool.go

parent 75ae61de
No related branches found
No related tags found
No related merge requests found
......@@ -319,9 +319,7 @@ func (p *gettyRPCClientPool) getGettyRpcClient(protocol, addr string) (*gettyRPC
conn, err := p.get()
if err == nil && conn == nil {
// create new conn
var rpcClientConn *gettyRPCClient
rpcClientConn, err = newGettyRPCClientConn(p, protocol, addr)
return rpcClientConn, perrors.WithStack(err)
conn, err = newGettyRPCClientConn(p, protocol, addr)
}
return conn, perrors.WithStack(err)
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment