Skip to content

Commit

Permalink
Preserve the old subscription status in case of the EventMesh backend
Browse files Browse the repository at this point in the history
  • Loading branch information
marcobebway committed Apr 17, 2024
1 parent c314e3d commit 835bad3
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,6 @@ func (r *Reconciler) validateSubscription(ctx context.Context, subscription *eve
var err error
if err = r.subscriptionValidator.Validate(ctx, *subscription); err != nil {
subscription.Status.SetNotReady()
subscription.Status.ClearTypes()
subscription.Status.ClearBackend()
subscription.Status.ClearConditions()
}
subscription.Status.SetSubscriptionSpecValidCondition(err)
return err
Expand Down

0 comments on commit 835bad3

Please sign in to comment.