GuoYL123 commented on a change in pull request #125: fix status/value_type
don't update
URL: https://github.com/apache/servicecomb-kie/pull/125#discussion_r397654299
##########
File path: server/service/mongo/kv/kv_dao.go
##########
@@ -82,6 +82,8 @@ func updateKeyValue(ctx context.Context, kv *model.KVDoc)
error {
ur, err := collection.UpdateOne(ctx, bson.M{"key": kv.Key, "label_id":
kv.LabelID}, bson.D{
{"$set", bson.D{
{"value", kv.Value},
+ {"value_type", kv.ValueType},
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