app/vmselect/promql: typo fix in comment: didsn't -> didn't

This commit is contained in:
Aliaksandr Valialkin 2021-10-15 22:26:09 +03:00
parent 0452a8d4e8
commit da0adf446d
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1

View File

@ -1384,7 +1384,7 @@ func rollupIncreasePure(rfa *rollupFuncArg) float64 {
prevValue = 0 prevValue = 0
} }
if len(values) == 0 { if len(values) == 0 {
// Assume the counter didsn't change since prevValue. // Assume the counter didn't change since prevValue.
return 0 return 0
} }
return values[len(values)-1] - prevValue return values[len(values)-1] - prevValue