tianxiaoliang commented on a change in pull request #770:
URL:
https://github.com/apache/servicecomb-service-center/pull/770#discussion_r533966180
##########
File path:
syncer/samples/multi-servicecenters/servicecenter/hello-server/servicecenter/servicecenter.go
##########
@@ -114,7 +114,7 @@ func Do(ctx context.Context, method, addr string, headers
http.Header, body []by
if err != nil {
return nil, err
}
- endpoints, err := serverNameToEndpoints(raw.Hostname())
+ endpoints, _ := serverNameToEndpoints(raw.Hostname())
Review comment:
为何忽略错误
----------------------------------------------------------------
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]