chore: fix rangeEval comment (#17607)

Signed-off-by: Faustas Butkus <faustas.butkus@chronosphere.io>
This commit is contained in:
Faustas Butkus 2025-11-25 11:06:30 +02:00 committed by GitHub
parent fb47037435
commit e43f1bafca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1259,7 +1259,7 @@ func (enh *EvalNodeHelper) resetHistograms(inVec Vector, arg parser.Expr) annota
// the given funcCall with the values computed for each expression at that
// step. The return value is the combination into time series of all the
// function call results.
// The prepSeries function (if provided) can be used to prepare the helper
// The matching (if provided) can be used to prepare the helper
// for each series, then passed to each call funcCall.
func (ev *evaluator) rangeEval(ctx context.Context, matching *parser.VectorMatching, funcCall func([]Vector, Matrix, [][]EvalSeriesHelper, *EvalNodeHelper) (Vector, annotations.Annotations), exprs ...parser.Expr) (Matrix, annotations.Annotations) {
numSteps := int((ev.endTimestamp-ev.startTimestamp)/ev.interval) + 1