未验证 提交 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, ...@@ -109,7 +109,9 @@ func runComponent[T component](ctx context.Context,
panic(err) panic(err)
} }
wg.Done() wg.Done()
_ = role.Run() if err := role.Run(); err != nil {
panic(err)
}
runWg.Done() runWg.Done()
}() }()
wg.Wait() wg.Wait()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册