From 3924fdd7a8158077517f943d8693dff5db5cae66 Mon Sep 17 00:00:00 2001 From: Denys Zhdanov Date: Sat, 4 Oct 2025 13:59:53 +0200 Subject: [PATCH] Couple of typos --- .golangci.yaml | 2 +- expr/functions/groupByNode/function.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index a87f07cdd..76972d6f5 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,4 +1,4 @@ -.golangci.yaml# Options for analysis running. +# Options for analysis running. run: # The default concurrency value is the number of available CPU. # concurrency: 8 diff --git a/expr/functions/groupByNode/function.go b/expr/functions/groupByNode/function.go index 3b1c849e5..e3fbb00dd 100644 --- a/expr/functions/groupByNode/function.go +++ b/expr/functions/groupByNode/function.go @@ -90,7 +90,7 @@ func (f *groupByNode) Do(ctx context.Context, eval interfaces.Evaluator, e parse if err != nil { return nil, err } else if nexpr.Type() != parser.EtFunc { - err = merry.WithMessagef(parser.ErrInvalidArg, "unsupported "+target+" callback function") + err = merry.WithMessage(parser.ErrInvalidArg, "unsupported "+target+" callback function") return nil, err } // remove all stub_ prefixes we've prepended before