You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/12/30 08:42:19 UTC
[GitHub] [servicecomb-service-center] GuoYL123 commented on a change in pull request #787: WIP [SCD-2133] add new display data interface
GuoYL123 commented on a change in pull request #787:
URL: https://github.com/apache/servicecomb-service-center/pull/787#discussion_r550040450
##########
File path: server/service/gov/config_distributor.go
##########
@@ -87,14 +89,17 @@ func Create(kind, project string, spec []byte) error {
func List(kind, project, app, env string) ([]byte, error) {
for _, cd := range distributors {
+ if kind == DisplayKey {
+ return cd.Display(project, app, env)
Review comment:
resource层进行判断,新增语义ListOrDisPlay
----------------------------------------------------------------
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:
users@infra.apache.org