From d574e822a071058119a9e740fe64017da28eb392 Mon Sep 17 00:00:00 2001 From: Tak Wai Wong Date: Thu, 11 Aug 2022 10:58:41 -0700 Subject: [PATCH] Ignore golangci-lint false positive --- internal/caching/impl_ristretto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/caching/impl_ristretto.go b/internal/caching/impl_ristretto.go index fc0c8cc0f..49292d0dc 100644 --- a/internal/caching/impl_ristretto.go +++ b/internal/caching/impl_ristretto.go @@ -146,7 +146,7 @@ func (c *RistrettoCostedCachePartition[K, V]) Set(key K, value V) { } type RistrettoCachePartition[K keyable, V any] struct { - cache *ristretto.Cache + cache *ristretto.Cache //nolint:all,unused Prefix byte Mutable bool MaxAge time.Duration