diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-08-22 21:59:56 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-08-22 22:16:51 +0200 |
commit | 6cf3144fb8de58ccf06080433b7ac279299db998 (patch) | |
tree | cf12060209abdb122b1e1fbfd0dbcf98340872c1 /internal/feed | |
parent | 03f84710ecfcb221b4517309231b6ee3510052ee (diff) | |
download | feed2imap-go-6cf3144fb8de58ccf06080433b7ac279299db998.tar.gz feed2imap-go-6cf3144fb8de58ccf06080433b7ac279299db998.tar.bz2 feed2imap-go-6cf3144fb8de58ccf06080433b7ac279299db998.zip |
Fix writing the cache
Diffstat (limited to '')
-rw-r--r-- | internal/feed/cache.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/feed/cache.go b/internal/feed/cache.go index d233395..fa22139 100644 --- a/internal/feed/cache.go +++ b/internal/feed/cache.go @@ -97,7 +97,7 @@ func storeCache(cache Cache, fileName string) error { } encoder := gob.NewEncoder(writer) - if err = encoder.Encode(cache); err != nil { + if err = encoder.Encode(cache.CacheImpl); err != nil { return fmt.Errorf("encoding cache: %w", err) } |