marsevilspirit commented on code in PR #2908:
URL: https://github.com/apache/dubbo-go/pull/2908#discussion_r2138970933
##########
protocol/dubbo/dubbo_invoker.go:
##########
@@ -93,24 +93,16 @@ func (di *DubboInvoker) Invoke(ctx context.Context, ivc
base.Invocation) result.
// Generally, the case will not happen, because the invoker has
been removed
// from the invoker list before destroy,so no new request will
enter the destroyed invoker
logger.Warnf("this dubboInvoker is destroyed")
- res.Err = base.ErrDestroyedInvoker
+ res.SetError(base.ErrDestroyedInvoker)
return &res
}
di.clientGuard.RLock()
defer di.clientGuard.RUnlock()
if di.client == nil {
Review Comment:
done
--
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]