mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-24 10:22:36 +08:00
test: log add
This commit is contained in:
parent
24dbbb3857
commit
f95e970de8
@ -2,6 +2,7 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/log"
|
||||||
|
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/a2r"
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/a2r"
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
||||||
@ -21,7 +22,9 @@ type Auth struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (o *Auth) client(ctx context.Context) (auth.AuthClient, error) {
|
func (o *Auth) client(ctx context.Context) (auth.AuthClient, error) {
|
||||||
|
log.ZDebug(ctx, "before get grpc conn from zk registry")
|
||||||
conn, err := o.c.GetConn(ctx, config.Config.RpcRegisterName.OpenImAuthName)
|
conn, err := o.c.GetConn(ctx, config.Config.RpcRegisterName.OpenImAuthName)
|
||||||
|
log.ZDebug(ctx, "after get grpc conn from zk registry")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user