diff options
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") } |