aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/cache/state.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2021-02-27 23:29:04 +0100
committerRené 'Necoro' Neumann <necoro@necoro.eu>2021-02-27 23:29:04 +0100
commit21210173c4d04676436b8e48dfbe4043299797cb (patch)
treeebd1b27308efd9be3bbc05d7387a2939f920961e /internal/feed/cache/state.go
parent8ff43ad01008e8640b2d6f9fd2a56b1c4a78f68f (diff)
downloadfeed2imap-go-21210173c4d04676436b8e48dfbe4043299797cb.tar.gz
feed2imap-go-21210173c4d04676436b8e48dfbe4043299797cb.tar.bz2
feed2imap-go-21210173c4d04676436b8e48dfbe4043299797cb.zip
Do not upgrade the cache in `print-cache`
Diffstat (limited to 'internal/feed/cache/state.go')
-rw-r--r--internal/feed/cache/state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/feed/cache/state.go b/internal/feed/cache/state.go
index 3a40878..2df0c74 100644
--- a/internal/feed/cache/state.go
+++ b/internal/feed/cache/state.go
@@ -45,7 +45,7 @@ func (state *State) LoadCache(fileName string, forceNew bool) error {
if forceNew {
cache, err = create()
} else {
- cache, err = Load(fileName)
+ cache, err = Load(fileName, true)
}
if err != nil {