zonghaishang commented on issue #2542: provider service register version 
incorrect
URL: 
https://github.com/apache/incubator-dubbo/issues/2542#issuecomment-423412013
 
 
   refer: org.apache.dubbo.config.ServiceConfig#doExportUrlsFor1Protocol
   
   ```
       private void doExportUrlsFor1Protocol(ProtocolConfig protocolConfig, 
List<URL> registryURLs) {
           String name = protocolConfig.getName();
           if (name == null || name.length() == 0) {
               name = "dubbo";
           }
   
           Map<String, String> map = new HashMap<String, String>();
           map.put(Constants.SIDE_KEY, Constants.PROVIDER_SIDE);
           map.put(Constants.DUBBO_VERSION_KEY, Version.getProtocolVersion());
           ...
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to