GuoYL123 commented on a change in pull request #90: #79 record polling history
URL: https://github.com/apache/servicecomb-kie/pull/90#discussion_r378062463
##########
File path: server/resource/v1/kv_resource.go
##########
@@ -189,6 +200,37 @@ func returnData(rctx *restful.Context, domain
interface{}, project string, label
}
}
+//RecordPollingDetail to record data after get or list
+func RecordPollingDetail(context *restful.Context, revStr, wait, domain,
project string, labels map[string]string, limit, offset int64, insId string) {
+ Wg.Add(1)
+ data := &model.PollingDetail{}
+ data.ID = insId + domain
Review comment:
done
----------------------------------------------------------------
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