robotLJW commented on a change in pull request #809:
URL:
https://github.com/apache/servicecomb-service-center/pull/809#discussion_r555716440
##########
File path: datasource/mongo/ms.go
##########
@@ -1570,23 +1570,31 @@ func (ds *DataSource) GetInstance(ctx context.Context,
request *discovery.GetOne
}
domainProject := util.ParseDomainProject(ctx)
- services, err := findServices(ctx,
discovery.MicroServiceToKey(domainProject, provider.ServiceInfo))
+ services, exist, err := findServices(ctx,
discovery.MicroServiceToKey(domainProject, provider.ServiceInfo))
Review comment:
这个我修改了exist命名,修改为existExcludeVesion,并在上面加了这个字段的解释
----------------------------------------------------------------
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]