Skip to content

Commit c72708b

Browse files
tswstarplanetchickenlj
authored andcommitted
Merge pull request #2959, fix a bug of service config.
1 parent faf3983 commit c72708b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ServiceConfig.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -498,10 +498,6 @@ private void doExportUrlsFor1Protocol(ProtocolConfig protocolConfig, List<URL> r
498498
map.put(Constants.TOKEN_KEY, token);
499499
}
500500
}
501-
if (Constants.LOCAL_PROTOCOL.equals(protocolConfig.getName())) {
502-
protocolConfig.setRegister(false);
503-
map.put("notify", "false");
504-
}
505501
// export service
506502
String contextPath = protocolConfig.getContextpath();
507503
if (StringUtils.isEmpty(contextPath) && provider != null) {

0 commit comments

Comments
 (0)