mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
Merge branch 'master' of https://github.com/duanhf2012/origin
This commit is contained in:
@@ -362,6 +362,9 @@ func (slf *RpcHandler) callRpc(nodeId int,serviceMethod string,args interface{},
|
||||
|
||||
//跨node调用
|
||||
pCall := pClient.Go(false,serviceMethod,args,reply)
|
||||
if pCall.Err != nil {
|
||||
return pCall.Err
|
||||
}
|
||||
pResult := pCall.Done()
|
||||
return pResult.Err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user