mirror of https://github.com/milvus-io/milvus.git
Add the `indexName` param for the `indexpb.DescribeIndexRequest` (#19440)
Signed-off-by: SimFG <bang.fu@zilliz.com> Signed-off-by: SimFG <bang.fu@zilliz.com>pull/19451/head
parent
c5a7f94582
commit
09255e5507
|
@ -1425,7 +1425,7 @@ func (dit *describeIndexTask) Execute(ctx context.Context) error {
|
||||||
return fmt.Errorf("failed to parse collection schema: %s", err)
|
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 {
|
if err != nil || resp == nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue