From da6a1d75f4054258b8908b21133925ebaec02ef2 Mon Sep 17 00:00:00 2001 From: Vince Prignano Date: Thu, 26 Sep 2019 11:09:06 -0700 Subject: [PATCH] :running: Remove for machineset concurrent delete calls Signed-off-by: Vince Prignano --- controllers/machineset_controller.go | 1 - 1 file changed, 1 deletion(-) diff --git a/controllers/machineset_controller.go b/controllers/machineset_controller.go index c20c6f31576f..aa2c8e6613b9 100644 --- a/controllers/machineset_controller.go +++ b/controllers/machineset_controller.go @@ -320,7 +320,6 @@ func (r *MachineSetReconciler) syncReplicas(ms *clusterv1.MachineSet, machines [ // Choose which Machines to delete. machinesToDelete := getMachinesToDeletePrioritized(machines, diff, deletePriorityFunc) - // TODO: Add cap to limit concurrent delete calls. errCh := make(chan error, diff) var wg sync.WaitGroup wg.Add(diff)