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

Trigger NatssChannel reconciliation in case of errors #764

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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