Skip to content

Commit

Permalink
Fix confusing log while plugin is not enabled (milvus-io#24741)
Browse files Browse the repository at this point in the history
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
  • Loading branch information
congqixia authored Jun 8, 2023
1 parent ebd0279 commit 54306a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/querynodev2/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 54306a1

Please sign in to comment.