mirror of
https://github.com/duanhf2012/origin.git
synced 2026-03-12 02:27:28 +08:00
优化变量名称
This commit is contained in:
@@ -84,8 +84,8 @@ func (agent *RpcAgent) WriteRespone(serviceMethod string,seq uint64,reply interf
|
||||
rpcRespone.Err = err
|
||||
var errM error
|
||||
if reply!=nil {
|
||||
rpcRespone.Returns,errM = processor.Marshal(reply)
|
||||
if errM!= nil {
|
||||
rpcRespone.Reply,errM = processor.Marshal(reply)
|
||||
if errM != nil {
|
||||
rpcRespone.Err = ConvertError(errM)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user