Skip to content

Commit 5945dc5

Browse files
k15rknative-prow-robot
authored andcommitted
trigger reconciliation if previous failed (#2196)
1 parent 9bc4616 commit 5945dc5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contrib/natss/pkg/reconciler/dispatcher/natsschannel.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ func (r *Reconciler) Reconcile(ctx context.Context, key string) error {
130130
logging.FromContext(ctx).Error("Failed to update NatssChannel status", zap.Error(updateStatusErr))
131131
return updateStatusErr
132132
}
133-
return nil
133+
134+
// trigger new reconciliation if the previous one failed
135+
return reconcileErr
134136
}
135137

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

0 commit comments

Comments
 (0)