From 335de3008380aa9ef5141d48e85155ec21145fb0 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 23 Aug 2021 23:05:10 +0300 Subject: [PATCH] app/vmselect/promql: `make fmt` after 0078486ea7e892f83497e11fe3fa5196e437bbc9 --- app/vmselect/promql/rollup.go | 2 +- app/vmselect/promql/transform.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/vmselect/promql/rollup.go b/app/vmselect/promql/rollup.go index 6728c0bf1..cdac2b208 100644 --- a/app/vmselect/promql/rollup.go +++ b/app/vmselect/promql/rollup.go @@ -43,7 +43,7 @@ var rollupFuncs = map[string]newRollupFunc{ "stdvar_over_time": newRollupFuncOneArg(rollupStdvar), "absent_over_time": newRollupFuncOneArg(rollupAbsent), "present_over_time": newRollupFuncOneArg(rollupPresent), - "last_over_time": newRollupFuncOneArg(rollupLast), + "last_over_time": newRollupFuncOneArg(rollupLast), // Additional rollup funcs. "default_rollup": newRollupFuncOneArg(rollupDefault), // default rollup func diff --git a/app/vmselect/promql/transform.go b/app/vmselect/promql/transform.go index 52b4898ed..1968a3c45 100644 --- a/app/vmselect/promql/transform.go +++ b/app/vmselect/promql/transform.go @@ -63,7 +63,7 @@ var transformFuncs = map[string]transformFunc{ "minute": newTransformFuncDateTime(transformMinute), "month": newTransformFuncDateTime(transformMonth), "round": transformRound, - "sgn": transformSign, + "sgn": transformSign, "scalar": transformScalar, "sort": newTransformFuncSort(false), "sort_desc": newTransformFuncSort(true),