This is an automated email from the ASF dual-hosted git repository.
robotljw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git
The following commit(s) were added to refs/heads/master by this push:
new 5868c94 SCB-2176 Fix: lose schemas info
new ea5bbeb Merge pull request #945 from little-cui/test
5868c94 is described below
commit 5868c94db3b6d218b9c0a2a1b64fcfd08e2a343d
Author: little-cui <[email protected]>
AuthorDate: Tue Apr 13 21:33:21 2021 +0800
SCB-2176 Fix: lose schemas info
---
datasource/mongo/ms.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/datasource/mongo/ms.go b/datasource/mongo/ms.go
index f1f0c6e..5d91558 100644
--- a/datasource/mongo/ms.go
+++ b/datasource/mongo/ms.go
@@ -1367,7 +1367,7 @@ func getServiceDetailUtil(ctx context.Context, mgs
*model.Service, countOnly boo
}
serviceDetail.Instances = instances
case "schemas":
- filter := mutil.NewDomainProjectFilter(domain, project,
mutil.ServiceServiceID(serviceID))
+ filter := mutil.NewDomainProjectFilter(domain, project,
mutil.ServiceID(serviceID))
schemas, err := dao.GetSchemas(ctx, filter)
if err != nil {
log.Error(fmt.Sprintf("get service %s's all
schemas failed", mgs.Service.ServiceId), err)