mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
app/vmselect/promql: typo fix after 0771d57860
This commit is contained in:
parent
3d22532bb8
commit
675e0fa0ee
1 changed files with 1 additions and 1 deletions
|
@ -1017,7 +1017,7 @@ func removeEmptyValuesAndTimeseries(tss []netstorage.Result) []netstorage.Result
|
||||||
dstValues := ts.Values[:0]
|
dstValues := ts.Values[:0]
|
||||||
// Do not re-use ts.Timestamps for dstTimestamps, since ts.Timestamps
|
// Do not re-use ts.Timestamps for dstTimestamps, since ts.Timestamps
|
||||||
// may be shared among multiple time series.
|
// 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 {
|
for j, v := range ts.Values {
|
||||||
if math.IsNaN(v) {
|
if math.IsNaN(v) {
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue