diff --git a/x-pack/filebeat/input/netflow/decoder/v9/lru.go b/x-pack/filebeat/input/netflow/decoder/v9/lru.go index 082a43abbe4..3c9832c5063 100644 --- a/x-pack/filebeat/input/netflow/decoder/v9/lru.go +++ b/x-pack/filebeat/input/netflow/decoder/v9/lru.go @@ -43,7 +43,7 @@ func (h *pendingEventsHeap) Pop() any { old := *h n := len(old) x := old[n-1] - *h = old[0 : n-1] + *h = old[0 : n-1 : n-1] return x }