Skip to content

Commit

Permalink
fix: fix typo in UDPRoute controller's watch
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek committed Oct 12, 2023
1 parent df6452c commit 299dbd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/controllers/gateway/udproute_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (r *UDPRouteReconciler) SetupWithManager(mgr ctrl.Manager) error {
&source.Channel{Source: r.StatusQueue.Subscribe(schema.GroupVersionKind{
Group: gatewayv1alpha2.GroupVersion.Group,
Version: gatewayv1alpha2.GroupVersion.Version,
Kind: "TCPRoute",
Kind: "UDPRoute",
})},
&handler.EnqueueRequestForObject{},
); err != nil {
Expand Down Expand Up @@ -380,7 +380,7 @@ func (r *UDPRouteReconciler) Reconcile(ctx context.Context, req ctrl.Request) (c
}

if configurationStatus == k8sobj.ConfigurationStatusFailed {
debug(log, udproute, "tcproute configuration failed")
debug(log, udproute, "udproute configuration failed")
statusUpdated, err := ensureParentsProgrammedCondition(ctx, r.Status(), udproute, udproute.Status.Parents, gateways, metav1.Condition{
Status: metav1.ConditionFalse,
Reason: string(ConditionReasonTranslationError),
Expand Down

0 comments on commit 299dbd7

Please sign in to comment.