[skip e2e]Add comment for newGrpcClient (#15144)

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
pull/15177/head
cai.zhang 2022-01-12 11:13:37 +08:00 committed by GitHub
parent 89c9073ab3
commit 745d5f5a8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ func (c *Client) getIndexCoordAddr() (string, error) {
return ms.Address, nil
}
// newGrpcClient create a new grpc client of IndexCoord.
func (c *Client) newGrpcClient(cc *grpc.ClientConn) interface{} {
return indexpb.NewIndexCoordClient(cc)
}