Skip to content

Commit

Permalink
compile error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vamsee_yarlagadda committed Sep 28, 2023
1 parent 85752c5 commit bd14a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion online/src/main/scala/ai/chronon/online/TTLCache.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class TTLCache[I, O](f: I => O,
override def apply(t: I, u: Entry): Entry = {
val now = nowFunc()
if (u == null) {
contextBuilder(i).increment("cache.insert")
contextBuilder(t).increment("cache.insert")
Entry(f(t), now)
} else {
u
Expand Down

0 comments on commit bd14a20

Please sign in to comment.