mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-06-11 12:09:21 +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
|
||||
}
|
||||
trace_log.SetContextInfo(nCtx, "BindJSON", nil, "params", apiReq)
|
||||
etcdConn, err := getcdv3.GetConn(c, rpcName)
|
||||
etcdConn, err := getcdv3.GetConn(nCtx, rpcName)
|
||||
if err != nil {
|
||||
trace_log.WriteErrorResponse(nCtx, "GetDefaultConn", err)
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user