app/vmselect/promql: make fmt after 0078486ea7

This commit is contained in:
Aliaksandr Valialkin 2021-08-23 23:05:10 +03:00
parent 7c57745f40
commit 6c5760db9c
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ var rollupFuncs = map[string]newRollupFunc{
"stdvar_over_time": newRollupFuncOneArg(rollupStdvar), "stdvar_over_time": newRollupFuncOneArg(rollupStdvar),
"absent_over_time": newRollupFuncOneArg(rollupAbsent), "absent_over_time": newRollupFuncOneArg(rollupAbsent),
"present_over_time": newRollupFuncOneArg(rollupPresent), "present_over_time": newRollupFuncOneArg(rollupPresent),
"last_over_time": newRollupFuncOneArg(rollupLast), "last_over_time": newRollupFuncOneArg(rollupLast),
// Additional rollup funcs. // Additional rollup funcs.
"default_rollup": newRollupFuncOneArg(rollupDefault), // default rollup func "default_rollup": newRollupFuncOneArg(rollupDefault), // default rollup func

View file

@ -63,7 +63,7 @@ var transformFuncs = map[string]transformFunc{
"minute": newTransformFuncDateTime(transformMinute), "minute": newTransformFuncDateTime(transformMinute),
"month": newTransformFuncDateTime(transformMonth), "month": newTransformFuncDateTime(transformMonth),
"round": transformRound, "round": transformRound,
"sgn": transformSign, "sgn": transformSign,
"scalar": transformScalar, "scalar": transformScalar,
"sort": newTransformFuncSort(false), "sort": newTransformFuncSort(false),
"sort_desc": newTransformFuncSort(true), "sort_desc": newTransformFuncSort(true),