Fix timestamps being reversed for backends (#6040)

This commit is contained in:
Markos Fountoulakis 2019-05-17 12:29:17 +03:00 committed by Chris Akritidis
parent bd9420019a
commit 73e108f698
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ calculated_number backend_calculate_value_from_stored_data(
counter++;
}
*/
for(rd->state->query_ops.init(rd, &handle, before, after) ; !rd->state->query_ops.is_finished(&handle) ; ) {
for(rd->state->query_ops.init(rd, &handle, after, before) ; !rd->state->query_ops.is_finished(&handle) ; ) {
n = rd->state->query_ops.next_metric(&handle);
if(unlikely(!does_storage_number_exist(n))) {