From 09255e55077fc6d27ccbade36fae658caa17a4d0 Mon Sep 17 00:00:00 2001 From: SimFG Date: Mon, 26 Sep 2022 19:10:53 +0800 Subject: [PATCH] Add the `indexName` param for the `indexpb.DescribeIndexRequest` (#19440) Signed-off-by: SimFG Signed-off-by: SimFG --- internal/proxy/task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/proxy/task.go b/internal/proxy/task.go index 7ded12338b..d534923503 100644 --- a/internal/proxy/task.go +++ b/internal/proxy/task.go @@ -1425,7 +1425,7 @@ func (dit *describeIndexTask) Execute(ctx context.Context) error { return fmt.Errorf("failed to parse collection schema: %s", err) } - resp, err := dit.indexCoord.DescribeIndex(ctx, &indexpb.DescribeIndexRequest{CollectionID: dit.collectionID}) + resp, err := dit.indexCoord.DescribeIndex(ctx, &indexpb.DescribeIndexRequest{CollectionID: dit.collectionID, IndexName: dit.IndexName}) if err != nil || resp == nil { return err }