From 517f8b375575d08c6fd81a6677906f9c036a4c9f Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Sun, 15 Sep 2024 15:23:14 +0800 Subject: [PATCH] enhance: Refine the code for returning error (#36103) issue: #36023 Signed-off-by: Cai Zhang --- internal/indexnode/task_index.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/indexnode/task_index.go b/internal/indexnode/task_index.go index f8c4ca1b1e863..2b0961fd50053 100644 --- a/internal/indexnode/task_index.go +++ b/internal/indexnode/task_index.go @@ -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 }