app/vmselect/promql: go fmt

This commit is contained in:
Aliaksandr Valialkin 2020-09-08 15:18:49 +03:00
parent 4f06eed1c1
commit f3a79abfb4

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
}