aboutsummaryrefslogtreecommitdiffstats
path: root/cache/bug_cache.go
diff options
context:
space:
mode:
Diffstat (limited to 'cache/bug_cache.go')
-rw-r--r--cache/bug_cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/bug_cache.go b/cache/bug_cache.go
index 7b3fa114..3466f186 100644
--- a/cache/bug_cache.go
+++ b/cache/bug_cache.go
@@ -28,7 +28,7 @@ func NewBugCache(b *bug.Bug, repo repository.ClockedRepo, getUserIdentity getUse
repo: repo,
entityUpdated: entityUpdated,
getUserIdentity: getUserIdentity,
- entity: &bug.WithSnapshot{Bug: b},
+ entity: &withSnapshot[*bug.Snapshot, bug.Operation]{Interface: b},
},
}
}