You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ti...@apache.org on 2020/03/30 13:13:34 UTC
[servicecomb-kie] branch master updated: fix the update time not
updated (#131)
This is an automated email from the ASF dual-hosted git repository.
tianxiaoliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-kie.git
The following commit(s) were added to refs/heads/master by this push:
new 8e247f5 fix the update time not updated (#131)
8e247f5 is described below
commit 8e247f51cfbf3bc1c33b0f4e0a8dc2ba8f73c9ad
Author: zhulijian <zh...@huawei.com>
AuthorDate: Mon Mar 30 21:13:28 2020 +0800
fix the update time not updated (#131)
---
server/service/mongo/kv/kv_dao.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/server/service/mongo/kv/kv_dao.go b/server/service/mongo/kv/kv_dao.go
index c7fbd07..7745ba0 100644
--- a/server/service/mongo/kv/kv_dao.go
+++ b/server/service/mongo/kv/kv_dao.go
@@ -85,6 +85,7 @@ func updateKeyValue(ctx context.Context, kv *model.KVDoc) error {
{"value", kv.Value},
{"status", kv.Status},
{"checker", kv.Checker},
+ {"update_time", kv.UpdateTime},
{"update_revision", kv.UpdateRevision},
}},
})