Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Dec 11, 2024
1 parent 0fba365 commit f01371f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions controllers/clusterwidenetworkpolicy_validation_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (r *ClusterwideNetworkPolicyValidationReconciler) Reconcile(ctx context.Con
r.Recorder.Event(
&clusterNP,
corev1.EventTypeWarning,
"Unapplicable",
"Inapplicable",
fmt.Sprintf("cluster wide network policies must be defined in namespace %s otherwise they won't take effect", firewallv1.ClusterwideNetworkPolicyNamespace),
)
return ctrl.Result{}, nil
Expand All @@ -48,7 +48,7 @@ func (r *ClusterwideNetworkPolicyValidationReconciler) Reconcile(ctx context.Con
r.Recorder.Event(
&clusterNP,
corev1.EventTypeWarning,
"Unapplicable",
"Inapplicable",
fmt.Sprintf("cluster wide network policy is not valid: %v", err),
)
return ctrl.Result{}, nil
Expand Down
2 changes: 1 addition & 1 deletion controllers/firewall_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (r *FirewallReconciler) Reconcile(ctx context.Context, req ctrl.Request) (c

r.SeedUpdatedFunc()

r.Log.Info("successfully reconciled firewall, requeueing in 3 minutes")
r.Log.Info("successfully reconciled firewall, requeuing in 3 minutes")

return ctrl.Result{
RequeueAfter: 3 * time.Minute,
Expand Down

0 comments on commit f01371f

Please sign in to comment.