Skip to content

Commit

Permalink
Add unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kushagra98 committed Jan 31, 2024
1 parent bd5a51a commit e02b467
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cluster-autoscaler/core/scaledown/planner/planner.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ func (p *Planner) categorizeNodes(podDestinations map[string]bool, scaleDownCand
removableList = append(removableList, *removable)
if p.atomicScaleDownNode(removable) {
atomicScaleDownNodesCount++
klog.V(2).Infof("Considering node %s for atomic scale down. Total atomic scale down nodes count: %d", removable.Node.Name, atomicScaleDownNodesCount)
}
}
if unremovable != nil {
Expand Down

0 comments on commit e02b467

Please sign in to comment.