You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2021/03/22 00:51:37 UTC

[servicecomb-service-center] branch v1.x updated: remove schemas and props response, no client use it (#907)

This is an automated email from the ASF dual-hosted git repository.

littlecui pushed a commit to branch v1.x
in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git


The following commit(s) were added to refs/heads/v1.x by this push:
     new 3a92dcc  remove schemas and props response, no client use it (#907)
3a92dcc is described below

commit 3a92dcc9793afcb619a3b3315226638c61eaa6cd
Author: Shawn <xi...@gmail.com>
AuthorDate: Mon Mar 22 08:51:28 2021 +0800

    remove schemas and props response, no client use it (#907)
---
 server/rest/govern/service.go | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/server/rest/govern/service.go b/server/rest/govern/service.go
index b5d03e1..d2d6a98 100644
--- a/server/rest/govern/service.go
+++ b/server/rest/govern/service.go
@@ -102,7 +102,8 @@ func (governService *Service) GetServicesInfo(ctx context.Context, in *pb.GetSer
 				continue
 			}
 		}
-
+		service.Properties = nil
+		service.Schemas = nil
 		serviceDetail, err := getServiceDetailUtil(ctx, ServiceDetailOpt{
 			domainProject: domainProject,
 			service:       service,