From 1c7b1d526610b535726fa7b5daad9ef7b2072ef2 Mon Sep 17 00:00:00 2001 From: Thomas Rademaker Date: Thu, 19 Feb 2026 13:45:35 -0500 Subject: [PATCH] err is guarenteed to not be nil at this point --- appview/podcastindex/cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appview/podcastindex/cache.go b/appview/podcastindex/cache.go index ec83fe7..dc2feb9 100644 --- a/appview/podcastindex/cache.go +++ b/appview/podcastindex/cache.go @@ -30,7 +30,7 @@ func (cc *CachedClient) getOrFetch( if err == nil { return json.RawMessage(cached.Response), nil } - if err != nil && !errors.Is(err, gorm.ErrRecordNotFound) { + if !errors.Is(err, gorm.ErrRecordNotFound) { return nil, err } -- 2.51.2