未验证 提交 64966fce 编写于 作者: kimmking's avatar kimmking 提交者: GitHub

fix repository closed after proxy bootstrap (#7242)

上级 95119cf5
......@@ -72,9 +72,7 @@ public final class Bootstrap {
if (null == yamlConfig.getServerConfiguration().getGovernance()) {
init(new YamlProxyConfigurationSwapper().swap(yamlConfig), port, false);
} else {
try (GovernanceFacade governanceFacade = GovernanceFacade.getInstance()) {
init(new GovernanceBootstrap(governanceFacade).init(yamlConfig), port, true);
}
init(new GovernanceBootstrap(GovernanceFacade.getInstance()).init(yamlConfig), port, true);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册