Skip to content

Commit

Permalink
fix: fix vet shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed May 23, 2024
1 parent b6a785c commit 1a814fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions node/pkg/fetcher/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,9 @@ func (a *App) initialize(ctx context.Context) error {
a.Fetchers = make(map[int32]*Fetcher, len(configs))
a.Collectors = make(map[int32]*Collector, len(configs))
for _, config := range configs {
feeds, err := a.getFeeds(ctx, config.ID)
if err != nil {
return err
feeds, getFeedsErr := a.getFeeds(ctx, config.ID)
if getFeedsErr != nil {
return getFeedsErr
}

a.Fetchers[config.ID] = NewFetcher(config, feeds)
Expand Down

0 comments on commit 1a814fb

Please sign in to comment.