@@ -220,7 +220,7 @@ func main() {
220220 fwmReconciler := & controllers.FirewallMonitorReconciler {
221221 ShootClient : shootMgr .GetClient (),
222222 Log : ctrl .Log .WithName ("controllers" ).WithName ("FirewallMonitorReconciler" ),
223- Recorder : shootMgr .GetEventRecorderFor ("FirewallMonitorController" ),
223+ Recorder : shootMgr .GetEventRecorderFor ("FirewallMonitorController" ), // nolint:staticcheck
224224 IDSEnabled : enableIDS ,
225225 FirewallName : firewallName ,
226226 Namespace : firewallv2 .FirewallShootNamespace ,
@@ -233,7 +233,7 @@ func main() {
233233 }
234234 l .Info ("detected frr" , "version" , frrVersion .String ())
235235
236- updater := updater .New (ctrl .Log .WithName ("updater" ), shootMgr .GetEventRecorderFor ("FirewallController" ))
236+ updater := updater .New (ctrl .Log .WithName ("updater" ), shootMgr .GetEventRecorderFor ("FirewallController" )) // nolint:staticcheck
237237
238238 // Firewall Reconciler
239239 if err = (& controllers.FirewallReconciler {
@@ -243,7 +243,7 @@ func main() {
243243 Scheme : scheme ,
244244 Namespace : seedNamespace ,
245245 FirewallName : firewallName ,
246- Recorder : shootMgr .GetEventRecorderFor ("FirewallController" ),
246+ Recorder : shootMgr .GetEventRecorderFor ("FirewallController" ), // nolint:staticcheck
247247 Updater : updater ,
248248 SeedUpdatedFunc : fwmReconciler .SeedUpdated ,
249249 TokenUpdater : accessTokenUpdater ,
@@ -269,7 +269,7 @@ func main() {
269269 ShootClient : shootMgr .GetClient (),
270270 Log : ctrl .Log .WithName ("controllers" ).WithName ("ClusterwideNetworkPolicy" ),
271271 Ctx : ctx ,
272- Recorder : shootMgr .GetEventRecorderFor ("FirewallController" ),
272+ Recorder : shootMgr .GetEventRecorderFor ("FirewallController" ), // nolint:staticcheck
273273 FirewallName : firewallName ,
274274 SeedNamespace : seedNamespace ,
275275 }).SetupWithManager (shootMgr ); err != nil {
@@ -280,7 +280,7 @@ func main() {
280280 if err = (& controllers.ClusterwideNetworkPolicyValidationReconciler {
281281 ShootClient : shootMgr .GetClient (),
282282 Log : ctrl .Log .WithName ("controllers" ).WithName ("ClusterwideNetworkPolicyValidation" ),
283- Recorder : shootMgr .GetEventRecorderFor ("FirewallController" ),
283+ Recorder : shootMgr .GetEventRecorderFor ("FirewallController" ), // nolint:staticcheck
284284 }).SetupWithManager (shootMgr ); err != nil {
285285 l .Error ("unable to create clusterwidenetworkpolicyvalidation controller" , "error" , err )
286286 panic (err )
0 commit comments