Permalink
Browse files

Fix typo in ServiceConfig.doExportUrlsFor1Protocol() -> local=只暴露本地服务 (

1 parent 0d9c1cb commit 63cd838a387448a598380efc610f2b14e74cc3d9 @bqluan bqluan committed with beiwei30 Jun 12, 2016
@@ -467,7 +467,7 @@ private void doExportUrlsFor1Protocol(ProtocolConfig protocolConfig, List<URL> r
if (!Constants.SCOPE_REMOTE.toString().equalsIgnoreCase(scope)) {
exportLocal(url);
}
- //如果配置不是local则暴露为远程服务.(配置为local,则表示只暴露远程服务)
+ //如果配置不是local则暴露为远程服务.(配置为local,则表示只暴露本地服务)
if (! Constants.SCOPE_LOCAL.toString().equalsIgnoreCase(scope) ){
if (logger.isInfoEnabled()) {
logger.info("Export dubbo service " + interfaceClass.getName() + " to url " + url);
@@ -724,4 +724,4 @@ private static void putRandomPort(String protocol, Integer port) {
RANDOM_PORT_MAP.put(protocol, port);
}
}
-}
+}

0 comments on commit 63cd838

Please sign in to comment.