Browse Source

Lint

kegan/feedreader
Kegan Dougal 8 years ago
parent
commit
a5e515e118
  1. 2
      src/github.com/matrix-org/go-neb/services/feedreader/feedreader.go

2
src/github.com/matrix-org/go-neb/services/feedreader/feedreader.go

@ -38,7 +38,7 @@ func (p *feedPoller) OnPoll(s types.Service) {
// Worked out by looking at the chosen interval period (prioritise the feed retry time where it exists) // Worked out by looking at the chosen interval period (prioritise the feed retry time where it exists)
// Persist the next poll ts to the database. // Persist the next poll ts to the database.
for u, _ := range urlsToRooms {
for u := range urlsToRooms {
fp := gofeed.NewParser() fp := gofeed.NewParser()
feed, err := fp.ParseURL(u) feed, err := fp.ParseURL(u)
if err != nil { if err != nil {

Loading…
Cancel
Save