Skip to content

Commit

Permalink
Fix that json feed was overwriting atom key
Browse files Browse the repository at this point in the history
  • Loading branch information
dewey committed Aug 18, 2018
1 parent 288fd23 commit 6ead888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,6 @@ func (r *Runner) runPlugin(cp plugin.Plugin) (scrape.Statistic, error) {
if err != nil {
return scrape.Statistic{}, err
}
r.StorageRepository.Save(fmt.Sprintf("atom_%s", cp.String()), json)
r.StorageRepository.Save(fmt.Sprintf("json_%s", cp.String()), json)
return scrape.Statistic{Items: len(f.Items)}, nil
}

0 comments on commit 6ead888

Please sign in to comment.