[skip ci]Add comment for GetSegmentInfoChannel (#10606)

Signed-off-by: sunby <bingyi.sun@zilliz.com>
pull/10610/head
sunby 2021-10-25 21:24:22 +08:00 committed by GitHub
parent 1888b7e1a1
commit 42480da5d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -402,6 +402,8 @@ func (c *Client) GetPartitionStatistics(ctx context.Context, req *datapb.GetPart
return ret.(*datapb.GetPartitionStatisticsResponse), err return ret.(*datapb.GetPartitionStatisticsResponse), err
} }
// GetSegmentInfoChannel DEPRECATED
// legacy api to get SegmentInfo Channel name
func (c *Client) GetSegmentInfoChannel(ctx context.Context) (*milvuspb.StringResponse, error) { func (c *Client) GetSegmentInfoChannel(ctx context.Context) (*milvuspb.StringResponse, error) {
ret, err := c.recall(func() (interface{}, error) { ret, err := c.recall(func() (interface{}, error) {
client, err := c.getGrpcClient() client, err := c.getGrpcClient()