Skip to content

Commit

Permalink
Update pkg/streamingpromql/operators/functions/range_vectors.go
Browse files Browse the repository at this point in the history
Co-authored-by: Charles Korn <[email protected]>
  • Loading branch information
lamida and charleskorn authored Nov 10, 2024
1 parent ed5169c commit 7f5623d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/streamingpromql/operators/functions/range_vectors.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ func changes(step types.RangeVectorStepData, _ float64, _ types.EmitAnnotationFu
}
}

accumulate(fHead)
accumulate(fHead[1:])
accumulate(fTail)

return changes, true, nil, nil
Expand Down

0 comments on commit 7f5623d

Please sign in to comment.