mirror of https://github.com/milvus-io/milvus.git
Add index_name check for drop_index (#6217)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>pull/6234/head
parent
ff93d1611f
commit
95aa3c85b6
|
@ -3372,6 +3372,10 @@ func (dit *DropIndexTask) PreExecute(ctx context.Context) error {
|
|||
return err
|
||||
}
|
||||
|
||||
if dit.IndexName == "" {
|
||||
dit.IndexName = Params.DefaultIndexName
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue