dubbo-spring-boot-project
dubbo-spring-boot-project copied to clipboard
当没有配置scope时远程和本地都会导出服务。这个是bug吗
源码如下 这是个bug吗。还是原本设计就是这样的
// export to local if the config is not remote (export to remote only when config is remote)
if (!SCOPE_REMOTE.equalsIgnoreCase(scope)) {
exportLocal(url);
}
// export to remote if the config is not local (export to local only when config is local)
if (!SCOPE_LOCAL.equalsIgnoreCase(scope)) {
......
}