Refine return value (#11730)

Signed-off-by: yun.zhang <yun.zhang@zilliz.com>

Co-authored-by: yun.zhang <yun.zhang@zilliz.com>
pull/12488/head
jaime 2021-11-30 19:32:17 +08:00 committed by GitHub
parent 35175abfb4
commit 90a1d016a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ func (it *IndexBuildTask) checkIndexMeta(ctx context.Context, pre bool) error {
if err != nil {
log.Warn("IndexNode checkIndexMeta CompareVersionAndSwap", zap.Error(err))
}
return err
return nil
}
err := retry.Do(ctx, fn, retry.Attempts(3))