app/vmselect/promql: go fmt

This commit is contained in:
Aliaksandr Valialkin 2020-09-08 15:18:49 +03:00
parent e6da63dffe
commit 62919eaf7e

View File

@ -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
}