little-cui commented on a change in pull request #950:
URL: 
https://github.com/apache/servicecomb-service-center/pull/950#discussion_r615221839



##########
File path: datasource/mongo/ms.go
##########
@@ -539,7 +539,7 @@ func (ds *DataSource) GetServicesStatistics(ctx 
context.Context, request *discov
        ctx = util.WithCacheOnly(ctx)
        var st *discovery.Statistics
        var err error
-       st, err = statistics(ctx, true)
+       st, err = statistics(ctx, false)

Review comment:
       其实是这个接口重新实现时候没兼容老的行为,老接口是支持传query参数,统计是否包含global类型微服务的




-- 
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]


Reply via email to