Skip to content

Commit 63cd838

Browse files
bqluanbeiwei30
authored andcommitted
Fix typo in ServiceConfig.doExportUrlsFor1Protocol() -> local=只暴露本地服务 (apache#162)
1 parent 0d9c1cb commit 63cd838

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/ServiceConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ private void doExportUrlsFor1Protocol(ProtocolConfig protocolConfig, List<URL> r
467467
if (!Constants.SCOPE_REMOTE.toString().equalsIgnoreCase(scope)) {
468468
exportLocal(url);
469469
}
470-
//如果配置不是local则暴露为远程服务.(配置为local,则表示只暴露远程服务)
470+
//如果配置不是local则暴露为远程服务.(配置为local,则表示只暴露本地服务)
471471
if (! Constants.SCOPE_LOCAL.toString().equalsIgnoreCase(scope) ){
472472
if (logger.isInfoEnabled()) {
473473
logger.info("Export dubbo service " + interfaceClass.getName() + " to url " + url);
@@ -724,4 +724,4 @@ private static void putRandomPort(String protocol, Integer port) {
724724
RANDOM_PORT_MAP.put(protocol, port);
725725
}
726726
}
727-
}
727+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy