[skip ci] Add comment for ClientBase.GetGrpcClient (#13268)

Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
pull/13287/head
shaoyue 2021-12-13 19:22:08 +08:00 committed by GitHub
parent c136346b6c
commit 188cec63f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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()