From fbcc6296ee6547aa88c6e6b4491a617a916ee107 Mon Sep 17 00:00:00 2001 From: "Diogo Franco (Kovensky)" Date: Fri, 26 Jul 2013 12:45:32 -0300 Subject: [PATCH] anidb: Correct cache key for LID.MyListEntry Caused lookups to always miss cache. --- mylistcache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mylistcache.go b/mylistcache.go index b004731..539af39 100644 --- a/mylistcache.go +++ b/mylistcache.go @@ -38,7 +38,7 @@ func (uid UID) MyList(fid FID) *MyListEntry { func (lid LID) MyListEntry() *MyListEntry { var e MyListEntry - if CacheGet(&e, "lid", lid) == nil { + if CacheGet(&e, "mylist", lid) == nil { return &e } return nil -- 2.44.0