AlexStocks commented on code in PR #2858:
URL: https://github.com/apache/dubbo-go/pull/2858#discussion_r2096989332


##########
dubbo.go:
##########
@@ -220,11 +227,19 @@ func (ins *Instance) loadConsumer() error {
        conLock.RLock()
        defer conLock.RUnlock()
        for intfName, definition := range consumerServices {
-               conn, dialErr := cli.DialWithDefinition(intfName, definition)
+               var conn *client.Connection

Review Comment:
   统一放到一个大的 var block 里面
   
   var (
                conn *client.Connection
                dialErr error
   )



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to