Skip to content

Commit

Permalink
trigger reconciliation if previous failed (#2196)
Browse files Browse the repository at this point in the history
  • Loading branch information
k15r authored and knative-prow-robot committed Nov 18, 2019
1 parent 9bc4616 commit 5945dc5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contrib/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 new reconciliation if the previous one failed
return reconcileErr
}

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

0 comments on commit 5945dc5

Please sign in to comment.