Skip to content

Commit

Permalink
Fix typo in ServiceConfig.doExportUrlsFor1Protocol() -> local=只暴露本地服务 (
Browse files Browse the repository at this point in the history
  • Loading branch information
bqluan authored and beiwei30 committed Jun 12, 2016
1 parent 0d9c1cb commit 63cd838
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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.