Alanxtl commented on code in PR #3757:
URL: https://github.com/apache/dubbo-go/pull/3757#discussion_r4240302831


##########
client/client.go:
##########
@@ -207,7 +207,7 @@ func (cli *Client) DialWithDefinition(interfaceName string, 
definition *ClientDe
 func (cli *Client) dial(interfaceName string, info *ClientInfo, srv any, opts 
...ReferenceOption) (*Connection, error) {
        newRefOpts := defaultReferenceOptions()
        finalOpts := []ReferenceOption{
-               setReference(cli.cliOpts.overallReference),
+               setReference(cli.cliOpts.overallReference.Clone()),

Review Comment:
   why there need a .Clone()



-- 
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