app/vmselect/promql: typo fix after 0771d57860

This commit is contained in:
Aliaksandr Valialkin 2023-01-11 01:05:31 -08:00
parent 0771d57860
commit 65b9dcfcca
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -916,7 +916,7 @@ func removeEmptyValuesAndTimeseries(tss []netstorage.Result) []netstorage.Result
dstValues := ts.Values[:0]
// Do not re-use ts.Timestamps for dstTimestamps, since ts.Timestamps
// may be shared among multiple time series.
dstTimestamps := make([]int64{}, 0, len(ts.Timestamps))
dstTimestamps := make([]int64, 0, len(ts.Timestamps))
for j, v := range ts.Values {
if math.IsNaN(v) {
continue