tianxiaoliang commented on code in PR #1324:
URL: 
https://github.com/apache/servicecomb-service-center/pull/1324#discussion_r948564158


##########
pkg/rest/util.go:
##########
@@ -116,3 +119,18 @@ func ReadBody(r *http.Request) ([]byte, error) {
        r.Body = io.NopCloser(bytes.NewReader(data))
        return data, nil
 }
+
+func ParseQueries(query url.Values, key string) map[string]string {

Review Comment:
   写点注释吧,我大概用了3分钟看懂



##########
server/server.go:
##########
@@ -118,9 +118,8 @@ func (s *ServiceCenterServer) initDatasource() {
                                log.Error("", err)
                        }
                },
-               EnableCache:        config.GetRegistry().EnableCache,
-               InstanceTTL:        config.GetRegistry().InstanceTTL,
-               InstanceProperties: 
config.GetStringMap("registry.instance.properties"),

Review Comment:
   以前这个功能用来干嘛的



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to