tianxiaoliang commented on a change in pull request #228:
URL: https://github.com/apache/servicecomb-kie/pull/228#discussion_r757982436
##########
File path: server/service/kv/kv_svc.go
##########
@@ -67,7 +68,7 @@ func ListKV(ctx context.Context, request
*model.ListKVRequest) (int64, *model.KV
//Create get latest revision from history
//and increase revision of label
//and insert key
-func Create(ctx context.Context, kv *model.KVDoc) (*model.KVDoc,
*errsvc.Error) {
+func Create(ctx context.Context, kv *model.KVDoc, syncEnabled bool)
(*model.KVDoc, *errsvc.Error) {
Review comment:
这块要透传函数式参数,不能写死bool,以后没有扩展性
--
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]