Merge pull request #1796 from weaveworks/fix-report-store-chaining

fix report store query chaining

Fixes weaveworks/service#769
This commit is contained in:
Matthias Radestock
2016-08-16 08:30:27 +01:00
committed by GitHub

View File

@@ -277,7 +277,8 @@ func (c *awsCollector) getReports(reportKeys []string) ([]report.Report, error)
if store == nil {
continue
}
found, missing, err := store.FetchReports(missing)
found, newMissing, err := store.FetchReports(missing)
missing = newMissing
if err != nil {
log.Warningf("Error fetching from cache: %v", err)
}