Skip to content

Commit 2c75e3d

Browse files
committed
fix: typos
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
1 parent e4e2835 commit 2c75e3d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

execution/execution.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ func newRangeVectorFunction(ctx context.Context, e *logicalplan.FunctionCall, t
194194

195195
// Validate function whitelist for anchored/smoothed modifiers.
196196
// Return a deferred error operator so the error surfaces at Exec time,
197-
// matching Prometheus behaviour expected by the test framework.
197+
// matching Prometheus behavior expected by the test framework.
198198
if vs.Anchored {
199199
if _, ok := parse.AnchoredSafeFunctions[e.Func.Name]; !ok {
200200
return newDeferredError(errors.Newf("anchored modifier can only be used with: %s - not with %s", strings.Join(slices.Sorted(maps.Keys(parse.AnchoredSafeFunctions)), ", "), e.Func.Name)), nil
@@ -450,7 +450,7 @@ func newDuplicateLabelCheck(ctx context.Context, e *logicalplan.CheckDuplicateLa
450450

451451
// deferredError is an operator that returns an error on first Next() call,
452452
// allowing validation errors to surface at evaluation time rather than
453-
// query creation time, matching Prometheus behaviour.
453+
// query creation time, matching Prometheus behavior.
454454
type deferredError struct {
455455
model.VectorOperator
456456
err error

0 commit comments

Comments
 (0)