Update app/vmselect/promql/transform.go

Co-authored-by: Andrii Chubatiuk <andrew.chubatiuk@gmail.com>
This commit is contained in:
Zakhar Bessarab 2024-06-28 16:36:36 +04:00
parent 5c7514134b
commit 52d7d601fe
No known key found for this signature in database
GPG key ID: 932B34D6FE062023

View file

@ -1061,7 +1061,7 @@ func fixBrokenBuckets(i int, xss []leTimeseries) {
break
}
}
// Substitute upper bucket values lower bucket values if the upper values are NaN
// Substitute upper bucket values with lower bucket values if the upper values are NaN
// or are bigger than the lower bucket values.
vNext := xss[0].ts.Values[0]
for j := 1; j < len(xss); j++ {