Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #199 from bsura/cachedtsdbservice_bugfix
Browse files Browse the repository at this point in the history
Bugfix: Trimming of data to use query time window
  • Loading branch information
dilipdevaraj-sfdc authored Oct 5, 2016
2 parents 3ec3711 + beed230 commit 7c4882e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ private List<MetricQueryTimestamp> _getCachedMetricValues(List<MetricQuery> quer
if (!tagNameAndMetricMap.containsKey(metric.getTags().toString())) {
combinedMetric = new Metric(metric);
tagNameAndMetricMap.put(metric.getTags().toString(), combinedMetric);
combinedMetric.setDatapoints(null);
} else {
combinedMetric = tagNameAndMetricMap.get(metric.getTags().toString());
}
Expand Down

0 comments on commit 7c4882e

Please sign in to comment.