aboutsummaryrefslogtreecommitdiffstats
path: root/cache
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-10 19:03:17 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-10 19:09:20 +0200
commit2dcd06d1e722a81d00fd7f9ef0a62c72b20fac6b (patch)
tree57b025d2500304bdd658affe70de137dbff6b78d /cache
parent9bb980e9de1ec3764069ae70baf0c2458e7c35a4 (diff)
downloadgit-bug-2dcd06d1e722a81d00fd7f9ef0a62c72b20fac6b.tar.gz
bug: ensure that OpBase field are public and properly serialized
fix #37
Diffstat (limited to 'cache')
-rw-r--r--cache/bug_excerpt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/bug_excerpt.go b/cache/bug_excerpt.go
index 62b5eedb..a9dd6abb 100644
--- a/cache/bug_excerpt.go
+++ b/cache/bug_excerpt.go
@@ -27,7 +27,7 @@ func NewBugExcerpt(b bug.Interface, snap *bug.Snapshot) *BugExcerpt {
Id: b.Id(),
CreateLamportTime: b.CreateLamportTime(),
EditLamportTime: b.EditLamportTime(),
- CreateUnixTime: b.FirstOp().UnixTime(),
+ CreateUnixTime: b.FirstOp().GetUnixTime(),
EditUnixTime: snap.LastEditUnix(),
Status: snap.Status,
Author: snap.Author,