From f3a79abfb412676223e89bc268961a458c60bf11 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 8 Sep 2020 15:18:49 +0300 Subject: [PATCH] app/vmselect/promql: go fmt --- app/vmselect/promql/rollup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/vmselect/promql/rollup.go b/app/vmselect/promql/rollup.go index 27d390df8c..d6351e523e 100644 --- a/app/vmselect/promql/rollup.go +++ b/app/vmselect/promql/rollup.go @@ -1707,7 +1707,7 @@ func rollupIntegrate(rfa *rollupFuncArg) float64 { prevTimestamp = timestamp prevValue = v } - dt := float64(rfa.currTimestamp - prevTimestamp) / 1e3 + dt := float64(rfa.currTimestamp-prevTimestamp) / 1e3 sum += prevValue * dt return sum }