gaoxinge opened a new pull request #722:
URL: https://github.com/apache/dubbo-go/pull/722


   <!--  Thanks for sending a pull request! 
   -->
   
   **What this PR does**:
   
   - code format
   - fix bug in 
[service_config.go](https://github.com/apache/dubbo-go/blob/develop/config/service_config.go#L201-L225):
   
   <img width="910" alt="1" 
src="https://user-images.githubusercontent.com/16648345/90766628-6dddd500-e31e-11ea-80ee-dfe0616786b6.png";>
   
   在`if len(regUrls) > 
0`的分支里面,对`regUrls`进行循环,其中每个`regUrl`生成的`exporter`都应该放到`append`到`exporters`里面。但是现在的代码里面只有最后一个`append`到`exporters`里面了。
   
   所以应该在代码的`216`行下面加一个`c.exporters = append(c.exporters, exporter)`。


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to