diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2021-02-27 22:26:34 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2021-02-27 22:26:34 +0100 |
commit | f4ea0b4fca4fae270d785b84e9b105081826754f (patch) | |
tree | 79deeecf52872cfeaad45ba23d975e52f64c718b /internal/feed/cache/v1.go | |
parent | ae96e1bd2516ff2c70ad9dc010da84b7a03b9a35 (diff) | |
download | feed2imap-go-f4ea0b4fca4fae270d785b84e9b105081826754f.tar.gz feed2imap-go-f4ea0b4fca4fae270d785b84e9b105081826754f.tar.bz2 feed2imap-go-f4ea0b4fca4fae270d785b84e9b105081826754f.zip |
New cache format using gzip compression
Diffstat (limited to 'internal/feed/cache/v1.go')
-rw-r--r-- | internal/feed/cache/v1.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/feed/cache/v1.go b/internal/feed/cache/v1.go index 17a0346..0363303 100644 --- a/internal/feed/cache/v1.go +++ b/internal/feed/cache/v1.go @@ -179,8 +179,8 @@ func newV1Cache() *v1Cache { func (cache *v1Cache) transformTo(v Version) (Impl, error) { switch v { - case v1Version: - return cache, nil + case v2Version: + return (*v2Cache)(cache), nil default: return nil, fmt.Errorf("Transformation not supported") } |