From 7abbd42b2bdfdeaabf99507185ad1562846a1226 Mon Sep 17 00:00:00 2001 From: Tim Ramlot <42113979+inteon@users.noreply.github.com> Date: Tue, 23 Apr 2024 10:25:57 +0200 Subject: [PATCH] add linter exception Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com> --- pkg/source/source.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/source/source.go b/pkg/source/source.go index 230a8000d5..769c778257 100644 --- a/pkg/source/source.go +++ b/pkg/source/source.go @@ -202,7 +202,7 @@ eventloop: // NewChannelBroadcaster creates a new ChannelBroadcaster for the given channel. // A ChannelBroadcaster is a wrapper around a channel that allows multiple listeners to all // receive the events from the channel. -func NewChannelBroadcaster[T any](source <-chan event.TypedGenericEvent[T]) *channelBroadcaster[T] { +func NewChannelBroadcaster[T any](source <-chan event.TypedGenericEvent[T]) *channelBroadcaster[T] { //nolint:revive return &channelBroadcaster[T]{ source: source, }