app/vmselect/promql: typo fix after 3e557c9861

This commit is contained in:
Aliaksandr Valialkin 2020-07-24 02:14:48 +03:00
parent 94cc677b0c
commit 3526e8768a

View file

@ -1096,7 +1096,7 @@ func rollupRateOverSum(rfa *rollupFuncArg) float64 {
if len(values) == 0 { if len(values) == 0 {
return nan return nan
} }
prevTimestamp = timestamps[1] prevTimestamp = timestamps[0]
values = values[1:] values = values[1:]
timestamps = timestamps[1:] timestamps = timestamps[1:]
} }