GuoYL123 commented on a change in pull request #90: #79 record polling history
URL: https://github.com/apache/servicecomb-kie/pull/90#discussion_r378096349
##########
File path: server/resource/v1/kv_resource.go
##########
@@ -130,9 +137,11 @@ func (r *KVResource) List(rctx *restful.Context) {
returnData(rctx, domain, project, labels, limit, offset)
}
+//
func returnData(rctx *restful.Context, domain interface{}, project string,
labels map[string]string, limit, offset int64) {
revStr := rctx.ReadQueryParameter(common.QueryParamRev)
wait := rctx.ReadQueryParameter(common.QueryParamWait)
+ go RecordPollingDetail(rctx, revStr, wait, domain.(string), project,
labels, limit, offset)
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services