diff options
-rw-r--r-- | cache/lru_id_cache.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/lru_id_cache.go b/cache/lru_id_cache.go index f775404f..fda12ca6 100644 --- a/cache/lru_id_cache.go +++ b/cache/lru_id_cache.go @@ -13,7 +13,7 @@ type LRUIdCache struct { } func NewLRUIdCache() *LRUIdCache { - // Ignore error here + // we can ignore the error here as it would only fail if the size is negative. cache, _ := lru.New(math.MaxInt32) return &LRUIdCache{ |