Skip to content

Commit

Permalink
Fix trigger reconciler to not update broker spec
Browse files Browse the repository at this point in the history
  • Loading branch information
creydr committed Nov 30, 2023
1 parent b79e648 commit 1a1addd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/reconciler/broker/trigger/trigger.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,9 @@ func (r *Reconciler) subscribeToBrokerChannel(ctx context.Context, b *eventingv1
}
}

delivery := t.Spec.Delivery
delivery := t.Spec.Delivery.DeepCopy()
if delivery == nil {
delivery = b.Spec.Delivery
delivery = b.Spec.Delivery.DeepCopy()
}

recorder := controller.GetEventRecorder(ctx)
Expand Down

0 comments on commit 1a1addd

Please sign in to comment.