mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Add comment for newGrpcClient (#15144)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>pull/15177/head
parent
89c9073ab3
commit
745d5f5a8a
|
@ -103,6 +103,7 @@ func (c *Client) getIndexCoordAddr() (string, error) {
|
||||||
return ms.Address, nil
|
return ms.Address, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// newGrpcClient create a new grpc client of IndexCoord.
|
||||||
func (c *Client) newGrpcClient(cc *grpc.ClientConn) interface{} {
|
func (c *Client) newGrpcClient(cc *grpc.ClientConn) interface{} {
|
||||||
return indexpb.NewIndexCoordClient(cc)
|
return indexpb.NewIndexCoordClient(cc)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue