tianxiaoliang 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_r397651742
 
 

 ##########
 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:
   value_type 本来就不支持修改

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

Reply via email to