app/vmselect/prometheus: typo fix after 7c002023d7

This commit is contained in:
Aliaksandr Valialkin 2021-03-12 12:19:05 +02:00
parent 7c002023d7
commit 2096c6e464

View file

@ -968,7 +968,7 @@ func QueryHandler(startTime time.Time, w http.ResponseWriter, r *http.Request) e
start -= offset start -= offset
end := start end := start
start = end - window start = end - window
// Do not includ data point with a timestamp matching the lower boundary of the window as Prometheus does. // Do not include data point with a timestamp matching the lower boundary of the window as Prometheus does.
start++ start++
if end < start { if end < start {
end = start end = start