@@ -375,7 +375,7 @@ func (r *KubeadmControlPlaneReconciler) reconcile(ctx context.Context, controlPl
375
375
376
376
// Aggregate the operational state of all the machines; while aggregating we are adding the
377
377
// source ref (reason@machine/name) so the problem can be easily tracked down to its source machine.
378
- conditions .SetAggregate (controlPlane .KCP , controlplanev1 .MachinesReadyCondition , controlPlane .Machines .ConditionGetters (), conditions .AddSourceRef (), conditions . WithStepCounterIf ( false ) )
378
+ conditions .SetAggregate (controlPlane .KCP , controlplanev1 .MachinesReadyCondition , controlPlane .Machines .ConditionGetters (), conditions .AddSourceRef ())
379
379
380
380
// Updates conditions reporting the status of static pods and the status of the etcd cluster.
381
381
// NOTE: Conditions reporting KCP operation progress like e.g. Resized or SpecUpToDate are inlined with the rest of the execution.
@@ -528,7 +528,7 @@ func (r *KubeadmControlPlaneReconciler) reconcileDelete(ctx context.Context, con
528
528
// source ref (reason@machine/name) so the problem can be easily tracked down to its source machine.
529
529
// However, during delete we are hiding the counter (1 of x) because it does not make sense given that
530
530
// all the machines are deleted in parallel.
531
- conditions .SetAggregate (controlPlane .KCP , controlplanev1 .MachinesReadyCondition , controlPlane .Machines .ConditionGetters (), conditions .AddSourceRef (), conditions . WithStepCounterIf ( false ) )
531
+ conditions .SetAggregate (controlPlane .KCP , controlplanev1 .MachinesReadyCondition , controlPlane .Machines .ConditionGetters (), conditions .AddSourceRef ())
532
532
533
533
// Gets all machines, not just control plane machines.
534
534
allMachines , err := r .managementCluster .GetMachinesForCluster (ctx , controlPlane .Cluster )
0 commit comments