From d86106276973ed3c911c561e523532ea79c44414 Mon Sep 17 00:00:00 2001 From: Zakhar Bessarab Date: Tue, 2 Jul 2024 15:58:11 +0400 Subject: [PATCH] app/vmselect/promql: update comment to be consistent with an implementation Signed-off-by: Zakhar Bessarab --- app/vmselect/promql/transform.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/vmselect/promql/transform.go b/app/vmselect/promql/transform.go index b97214f6c8..59906da6c5 100644 --- a/app/vmselect/promql/transform.go +++ b/app/vmselect/promql/transform.go @@ -1044,7 +1044,7 @@ func fixBrokenBuckets(i int, xss []leTimeseries) { // Buckets are already sorted by le, so their values must be in ascending order, // since the next bucket includes all the previous buckets. // If the next bucket has lower value than the current bucket, - // then the current bucket must be substituted with the next bucket value. + // then the next bucket must be substituted with the current bucket value. // See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2819 if len(xss) < 2 { return