From 7f5de0c7c6ce10d4735c20ddcd522c3202365214 Mon Sep 17 00:00:00 2001 From: edibble21 <85638465+edibble21@users.noreply.github.com> Date: Thu, 5 Dec 2024 16:28:31 -0800 Subject: [PATCH] fix formatting issue --- pkg/controllers/disruption/singlenodeconsolidation.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/controllers/disruption/singlenodeconsolidation.go b/pkg/controllers/disruption/singlenodeconsolidation.go index 82e797b48f..a50bd0f5de 100644 --- a/pkg/controllers/disruption/singlenodeconsolidation.go +++ b/pkg/controllers/disruption/singlenodeconsolidation.go @@ -51,6 +51,7 @@ func (s *SingleNodeConsolidation) ComputeCommand(ctx context.Context, disruption // Set a timeout timeout := s.clock.Now().Add(SingleNodeConsolidationTimeoutDuration) constrainedByBudgets := false + // binary search to find the maximum number of NodeClaims we can terminate for i, candidate := range candidates { // If the disruption budget doesn't allow this candidate to be disrupted,