what about change the method like this?

```golang
var (
                conn *gettyRPCClient
                err  error
        )
        if conn, err = p.selectGettyRpcClient(protocol, addr); err == nil && 
conn == nil {
                return newGettyRPCClientConn(p, protocol, addr)
        }
        return conn, err
```

[ Full content available at: https://github.com/apache/dubbo-go/pull/286 ]
This message was relayed via gitbox.apache.org for 
[email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to