mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for ClientBase.GetGrpcClient (#13268)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>pull/13287/head
parent
c136346b6c
commit
188cec63f9
|
@ -66,6 +66,7 @@ func (c *ClientBase) SetNewGrpcClientFunc(f func(cc *grpc.ClientConn) interface{
|
|||
c.newGrpcClient = f
|
||||
}
|
||||
|
||||
// GetGrpcClient returns grpc client
|
||||
func (c *ClientBase) GetGrpcClient(ctx context.Context) (interface{}, error) {
|
||||
c.grpcClientMtx.RLock()
|
||||
|
||||
|
|
Loading…
Reference in New Issue