dubbo-spring-boot-project icon indicating copy to clipboard operation
dubbo-spring-boot-project copied to clipboard

当没有配置scope时远程和本地都会导出服务。这个是bug吗

Open ShenFeng312 opened this issue 5 years ago • 0 comments

源码如下 这是个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)) {
                    ......
            }

ShenFeng312 avatar Nov 24 '20 17:11 ShenFeng312