Skip to content

Commit

Permalink
fix: ignore explicitly the error from registering v9 protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoutsovasilis committed Feb 20, 2024
1 parent a397244 commit 6cf69cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/filebeat/input/netflow/decoder/v9/v9.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6cf69cb

Please sign in to comment.