mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-03 23:04:53 -04:00
chore: fix unused parameter lint in new golangcilint version
This commit is contained in:
parent
68fc2b0811
commit
65903459a0
35 changed files with 92 additions and 92 deletions
|
@ -55,7 +55,7 @@ func (w *NodeJoinWatcher) SetupWithManager(mgr ctrl.Manager) error {
|
|||
Named("node-join-watcher").
|
||||
Watches(
|
||||
client.Object(&corev1.Node{}),
|
||||
handler.EnqueueRequestsFromMapFunc(func(ctx context.Context, obj client.Object) []ctrl.Request {
|
||||
handler.EnqueueRequestsFromMapFunc(func(_ context.Context, obj client.Object) []ctrl.Request {
|
||||
return []ctrl.Request{{
|
||||
NamespacedName: types.NamespacedName{Name: obj.GetName()},
|
||||
}}
|
||||
|
@ -70,7 +70,7 @@ func nodeJoinLeavePredicate() predicate.Predicate {
|
|||
return predicate.Funcs{
|
||||
// CreateFunc is not specified => never filter out create events
|
||||
// DeleteFunc is not specified => never filter out delete events
|
||||
UpdateFunc: func(e event.UpdateEvent) bool { return false },
|
||||
GenericFunc: func(e event.GenericEvent) bool { return false },
|
||||
UpdateFunc: func(_ event.UpdateEvent) bool { return false },
|
||||
GenericFunc: func(_ event.GenericEvent) bool { return false },
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue