From 6cf69cb3edcf95c84e497dd9a97880a9256b8b3c Mon Sep 17 00:00:00 2001 From: Panos Koutsovasilis Date: Mon, 19 Feb 2024 18:41:43 +0200 Subject: [PATCH] fix: ignore explicitly the error from registering v9 protocol --- x-pack/filebeat/input/netflow/decoder/v9/v9.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/filebeat/input/netflow/decoder/v9/v9.go b/x-pack/filebeat/input/netflow/decoder/v9/v9.go index 83d3a8135047..7f17a24f4faf 100644 --- a/x-pack/filebeat/input/netflow/decoder/v9/v9.go +++ b/x-pack/filebeat/input/netflow/decoder/v9/v9.go @@ -34,7 +34,7 @@ type NetflowV9Protocol struct { } func init() { - protocol.Registry.Register(ProtocolName, New) + _ = protocol.Registry.Register(ProtocolName, New) } func New(config config.Config) protocol.Protocol {