mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 09:38:39 +08:00
Fix confusing log while plugin is not enabled (#24741)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
ebd0279d3f
commit
54306a10b3
@ -236,9 +236,9 @@ func (node *QueryNode) Init() error {
|
|||||||
|
|
||||||
err = node.initHook()
|
err = node.initHook()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("QueryNode init hook failed", zap.Error(err))
|
|
||||||
// auto index cannot work if hook init failed
|
// auto index cannot work if hook init failed
|
||||||
if paramtable.Get().AutoIndexConfig.Enable.GetAsBool() {
|
if paramtable.Get().AutoIndexConfig.Enable.GetAsBool() {
|
||||||
|
log.Error("QueryNode init hook failed", zap.Error(err))
|
||||||
initError = err
|
initError = err
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user