Fix confusing log while plugin is not enabled (#24741)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/24623/head
congqixia 2023-06-08 15:40:35 +08:00 committed by GitHub
parent ebd0279d3f
commit 54306a10b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -236,9 +236,9 @@ func (node *QueryNode) Init() error {
err = node.initHook()
if err != nil {
log.Error("QueryNode init hook failed", zap.Error(err))
// auto index cannot work if hook init failed
if paramtable.Get().AutoIndexConfig.Enable.GetAsBool() {
log.Error("QueryNode init hook failed", zap.Error(err))
initError = err
return
}