mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 11:59:00 +08:00
Modify error msg when index is not created (#5978)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
This commit is contained in:
parent
7a2546c24a
commit
0f05622c09
@ -3446,7 +3446,7 @@ func (gibpt *GetIndexBuildProgressTask) Execute(ctx context.Context) error {
|
||||
}
|
||||
}
|
||||
if !foundIndexID {
|
||||
return errors.New(fmt.Sprint("Can't found IndexID for indexName", gibpt.IndexName))
|
||||
return fmt.Errorf("no index is created")
|
||||
}
|
||||
|
||||
var allSegmentIDs []UniqueID
|
||||
@ -3667,7 +3667,7 @@ func (gist *GetIndexStateTask) Execute(ctx context.Context) error {
|
||||
}
|
||||
}
|
||||
if !foundIndexID {
|
||||
return errors.New(fmt.Sprint("Can't found IndexID for indexName", gist.IndexName))
|
||||
return fmt.Errorf("no index is created")
|
||||
}
|
||||
|
||||
var allSegmentIDs []UniqueID
|
||||
|
Loading…
Reference in New Issue
Block a user