dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] zonghaishang commented on issue #2542: provider service register version incorrect
Date Fri, 21 Sep 2018 04:46:32 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Mime
View raw message