enhance: Refine the code for returning error (#36103)

issue: #36023

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
pull/36284/head
cai.zhang 2024-09-15 15:23:14 +08:00 committed by GitHub
parent e486442ca6
commit 517f8b3755
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -364,9 +364,6 @@ func (it *indexBuildTask) parseFieldMetaFromBinlog(ctx context.Context) error {
}
data, err := it.cm.Read(ctx, toLoadDataPaths[0])
if err != nil {
if errors.Is(err, merr.ErrIoKeyNotFound) {
return err
}
return err
}