From a5ad611e192b474c8b4144e2d2f5342f70dbfef0 Mon Sep 17 00:00:00 2001 From: Kaviraj Date: Mon, 19 Feb 2024 10:33:27 +0100 Subject: [PATCH] PR remarks Signed-off-by: Kaviraj --- pkg/logql/rangemapper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/logql/rangemapper.go b/pkg/logql/rangemapper.go index 199eebf61daed..51d33c7514b3e 100644 --- a/pkg/logql/rangemapper.go +++ b/pkg/logql/rangemapper.go @@ -401,7 +401,7 @@ func (m RangeMapper) rangeSplitAlign( } downstreams = appendDownstream(downstreams, expr, newRng, newOffset) newOffset += m.splitByInterval - pendingRangeInterval -= m.splitByInterval + pendingRangeInterval -= newRng splits++ }