Skip to content

Commit

Permalink
remove the condition boundlessv1alpha1.TypeComponentAvailable
Browse files Browse the repository at this point in the history
  • Loading branch information
sakshisharma84 committed Nov 30, 2023
1 parent c7ad506 commit e72b502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/manifest_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (r *ManifestReconciler) Reconcile(ctx context.Context, req ctrl.Request) (c
return ctrl.Result{}, nil
}

if (existing.Spec.Checksum != existing.Spec.NewChecksum) && (existing.Spec.NewChecksum != "") && (existing.Status.Type != boundlessv1alpha1.TypeComponentAvailable) {
if (existing.Spec.Checksum != existing.Spec.NewChecksum) && (existing.Spec.NewChecksum != "") {
// Update is required
logger.Info("checksum differs, update needed", "Checksum", existing.Spec.Checksum, "NewChecksum", existing.Spec.NewChecksum)
// First, update the checksum to avoid any reconciliation
Expand Down

0 comments on commit e72b502

Please sign in to comment.