Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Commit

Permalink
Trigger NatssChannel reconciliation in case of errors (#764)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcobebway authored and knative-prow-robot committed Nov 29, 2019
1 parent 302c5e0 commit 690293c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion natss/pkg/reconciler/dispatcher/natsschannel.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ func (r *Reconciler) Reconcile(ctx context.Context, key string) error {
logging.FromContext(ctx).Error("Failed to update NatssChannel status", zap.Error(updateStatusErr))
return updateStatusErr
}
return nil

// Trigger reconciliation in case of errors
return reconcileErr
}

func (r *Reconciler) reconcile(ctx context.Context, natssChannel *v1alpha1.NatssChannel) error {
Expand Down

0 comments on commit 690293c

Please sign in to comment.