未验证 提交 fb5d8095 编写于 作者: J Jiquan Long 提交者: GitHub

Fix components' setup (#26182)

Signed-off-by: Nlongjiquan <jiquan.long@zilliz.com>
上级 6472a503
......@@ -109,7 +109,9 @@ func runComponent[T component](ctx context.Context,
panic(err)
}
wg.Done()
_ = role.Run()
if err := role.Run(); err != nil {
panic(err)
}
runWg.Done()
}()
wg.Wait()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册