diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2021-02-27 18:13:00 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2021-02-27 18:13:00 +0100 |
commit | 19f193eba944b28bee5240a3dd58cd6eb6b302a5 (patch) | |
tree | 7c6cfbfe3edad8de93688f48046fc681bb60c760 | |
parent | 2ab1946a8b19b6b20abb38d79c021ca6be8bfb40 (diff) | |
download | feed2imap-go-19f193eba944b28bee5240a3dd58cd6eb6b302a5.tar.gz feed2imap-go-19f193eba944b28bee5240a3dd58cd6eb6b302a5.tar.bz2 feed2imap-go-19f193eba944b28bee5240a3dd58cd6eb6b302a5.zip |
Fix remaining use of `state.feeds`
-rw-r--r-- | internal/feed/cache/state.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/feed/cache/state.go b/internal/feed/cache/state.go index 1c911d7..3a40878 100644 --- a/internal/feed/cache/state.go +++ b/internal/feed/cache/state.go @@ -23,7 +23,7 @@ func (state *State) Foreach(f func(CachedFeed)) { func (state *State) ForeachGo(goFunc func(CachedFeed)) { var wg sync.WaitGroup - wg.Add(len(state.feeds)) + wg.Add(len(state.cachedFeeds)) f := func(feed CachedFeed, wg *sync.WaitGroup) { goFunc(feed) |