diff --git a/protocol/dubbo/dubbo_protocol.go b/protocol/dubbo/dubbo_protocol.go index b8e9b59eb73f4f955be2da20d850b46277cb947d..8dda52b6b9b79e5d20a730db52f9a376422ccd63 100644 --- a/protocol/dubbo/dubbo_protocol.go +++ b/protocol/dubbo/dubbo_protocol.go @@ -215,8 +215,7 @@ func getExchangeClient(url common.URL) *remoting.ExchangeClient { if clientTmp == nil { return nil } - exchangeClient := clientTmp.(*remoting.ExchangeClient) - return exchangeClient + return clientTmp.(*remoting.ExchangeClient) } // rebuildCtx rebuild the context by attachment.