[skip ci]Add comment for WatchChannels in client.go (#12416)

Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@gmail.com>
This commit is contained in:
Bingyi Sun 2021-11-29 23:13:41 +08:00 committed by GitHub
parent b790f1fe0c
commit fb2e8b0870
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -641,6 +641,7 @@ func (c *Client) GetCompactionStateWithPlans(ctx context.Context, req *milvuspb.
return ret.(*milvuspb.GetCompactionPlansResponse), err
}
// WatchChannels notifies DataCoord to watch vchannels of a collection
func (c *Client) WatchChannels(ctx context.Context, req *datapb.WatchChannelsRequest) (*datapb.WatchChannelsResponse, error) {
ret, err := c.recall(func() (interface{}, error) {
client, err := c.getGrpcClient()