Skip to content

Commit

Permalink
Merge c542918 into 6d11d2b
Browse files Browse the repository at this point in the history
  • Loading branch information
GuoYL123 committed Mar 25, 2020
2 parents 6d11d2b + c542918 commit ec04dbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/service/mongo/kv/kv_dao.go
Expand Up @@ -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},
{"status", kv.Status},
{"checker", kv.Checker},
{"update_revision", kv.UpdateRevision},
}},
Expand Down

0 comments on commit ec04dbe

Please sign in to comment.