mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-08-10 04:59:49 +08:00
1
This commit is contained in:
parent
2841109f31
commit
94eeb3abb2
@ -19,7 +19,7 @@ func ApiToRpc(c *gin.Context, apiReq, apiResp interface{}, rpcName string, rpcCl
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
trace_log.SetContextInfo(nCtx, "BindJSON", nil, "params", apiReq)
|
trace_log.SetContextInfo(nCtx, "BindJSON", nil, "params", apiReq)
|
||||||
etcdConn, err := getcdv3.GetConn(c, rpcName)
|
etcdConn, err := getcdv3.GetConn(nCtx, rpcName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
trace_log.WriteErrorResponse(nCtx, "GetDefaultConn", err)
|
trace_log.WriteErrorResponse(nCtx, "GetDefaultConn", err)
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user