Skip to content

Commit aae8ab1

Browse files
committed
fix: disable update
1 parent 65b185b commit aae8ab1

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

pkg/firewall/firewallconfiguration_controller.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,10 @@ func (r *FirewallConfigurationReconciler) Reconcile(ctx context.Context, req ctr
104104

105105
klog.V(4).Infof("Reconciling firewallconfiguration %s", req.String())
106106

107-
defer func() {
107+
//nolint:gocritic // keeping commented code for reference
108+
/* defer func() {
108109
err = r.UpdateStatus(ctx, r.EventsRecorder, fwcfg, r.PodName, err)
109-
}()
110+
}() */
110111

111112
// Manage Finalizers and Table deletion.
112113
// In nftables, table deletion automatically delete contained chains and rules.

pkg/route/routeconfiguration_controller.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,10 @@ func (r *RouteConfigurationReconciler) Reconcile(ctx context.Context, req ctrl.R
9797

9898
klog.V(4).Infof("Reconciling routeconfiguration %s", req.String())
9999

100-
defer func() {
100+
//nolint:gocritic // keeping commented code for reference
101+
/* defer func() {
101102
err = r.UpdateStatus(ctx, r.EventsRecorder, routeconfiguration, r.PodName, err)
102-
}()
103+
}() */
103104

104105
var tableID uint32
105106
tableID, err = GetTableID(routeconfiguration.Spec.Table.Name)

0 commit comments

Comments
 (0)