From cd422a5435d87cc52fdf2c6c908be61241ee4820 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 30 Aug 2022 12:04:06 +0300 Subject: [PATCH] app/vmselect/promql: typo fix after 992f36702fc890f8a66c354a98e9ff5faae98700 --- app/vmselect/promql/eval.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/vmselect/promql/eval.go b/app/vmselect/promql/eval.go index 24470cb90..400ebdcdb 100644 --- a/app/vmselect/promql/eval.go +++ b/app/vmselect/promql/eval.go @@ -307,9 +307,7 @@ func evalTransformFunc(qt *querytracer.Tracer, ec *EvalConfig, fe *metricsql.Fun } rv, err := tf(tfa) if err != nil { - return nil, &UserReadableError{ - Err: fmt.Errorf(`cannot evaluate %q: %w`, fe.AppendString(nil), err), - } + return nil, fmt.Errorf(`cannot evaluate %q: %w`, fe.AppendString(nil), err) } return rv, nil }