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