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:
[email protected]