|
|
|
@ -72,7 +72,7 @@ func GetGroups(c *gin.Context) {
|
|
|
|
|
log.NewInfo(reqPb.OperationID, utils.GetSelfFuncName(), "req: ", req)
|
|
|
|
|
reqPb.Pagination = &commonPb.RequestPagination{}
|
|
|
|
|
utils.CopyStructFields(&reqPb.Pagination, req)
|
|
|
|
|
etcdConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImGroupName)
|
|
|
|
|
etcdConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImGroupName, reqPb.OperationID)
|
|
|
|
|
if etcdConn == nil {
|
|
|
|
|
errMsg := reqPb.OperationID + "getcdv3.GetConn == nil"
|
|
|
|
|
log.NewError(reqPb.OperationID, errMsg)
|
|
|
|
|