Skip to content

Commit

Permalink
remove commented lines
Browse files Browse the repository at this point in the history
  • Loading branch information
kasabe28 authored and guvenc committed Aug 30, 2024
1 parent b9d818a commit 025d117
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions controllers/network_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -475,16 +475,13 @@ func (r *NetworkReconciler) unsubscribeIfSubscribed(ctx context.Context, vni uin
func (r *NetworkReconciler) SetupWithManager(mgr ctrl.Manager, metalnetCache cache.Cache) error {
return ctrl.NewControllerManagedBy(mgr).
For(&metalnetv1alpha1.Network{}).
// WithEventFilter(predicate.ResourceVersionChangedPredicate{}).
Watches(
&metalnetv1alpha1.NetworkInterface{},
handler.EnqueueRequestsFromMapFunc(r.findObjectsForNetworkInterface),
// builder.WithPredicates(predicate.ResourceVersionChangedPredicate{}),
).
Watches(
&metalnetv1alpha1.LoadBalancer{},
handler.EnqueueRequestsFromMapFunc(r.findObjectsForLoadBalancer),
// builder.WithPredicates(predicate.ResourceVersionChangedPredicate{}),
).
Complete(r)
}
Expand Down

0 comments on commit 025d117

Please sign in to comment.