Skip to content

Commit 62513e4

Browse files
committed
fix failing test
1 parent fbc212a commit 62513e4

File tree

1 file changed

+1
-1
lines changed
  • cluster-autoscaler/core/scaledown/planner

1 file changed

+1
-1
lines changed

cluster-autoscaler/core/scaledown/planner/planner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func New(context *context.AutoscalingContext, processors *processors.Autoscaling
9696
return &Planner{
9797
context: context,
9898
unremovableNodes: unremovable.NewNodes(),
99-
unneededNodes: unneeded.NewNodes(processors.NodeGroupConfigProcessor, resourceLimitsFinder, nlt),
99+
unneededNodes: unneededNodes,
100100
rs: simulator.NewRemovalSimulator(context.ListerRegistry, context.ClusterSnapshot, deleteOptions, drainabilityRules, true),
101101
actuationInjector: scheduling.NewHintingSimulator(),
102102
eligibilityChecker: eligibility.NewChecker(processors.NodeGroupConfigProcessor),

0 commit comments

Comments
 (0)