mirror of https://github.com/milvus-io/milvus.git
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
parent
35175abfb4
commit
90a1d016a0
|
@ -204,7 +204,7 @@ func (it *IndexBuildTask) checkIndexMeta(ctx context.Context, pre bool) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Warn("IndexNode checkIndexMeta CompareVersionAndSwap", zap.Error(err))
|
log.Warn("IndexNode checkIndexMeta CompareVersionAndSwap", zap.Error(err))
|
||||||
}
|
}
|
||||||
return err
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
err := retry.Do(ctx, fn, retry.Attempts(3))
|
err := retry.Do(ctx, fn, retry.Attempts(3))
|
||||||
|
|
Loading…
Reference in New Issue