aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/cache/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/feed/cache/state.go')
-rw-r--r--internal/feed/cache/state.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/feed/cache/state.go b/internal/feed/cache/state.go
index c2e7de8..1c911d7 100644
--- a/internal/feed/cache/state.go
+++ b/internal/feed/cache/state.go
@@ -43,9 +43,9 @@ func (state *State) LoadCache(fileName string, forceNew bool) error {
)
if forceNew {
- cache, err = newCache()
+ cache, err = create()
} else {
- cache, err = LoadCache(fileName)
+ cache, err = Load(fileName)
}
if err != nil {