Skip to content

Commit

Permalink
Update cluster-autoscaler/cloudprovider/mcm/mcm_manager.go
Browse files Browse the repository at this point in the history
Co-authored-by: Aaron Francis Fernandes <[email protected]>
  • Loading branch information
rishabh-11 and aaronfern authored Oct 7, 2024
1 parent 2119769 commit e5dbbf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster-autoscaler/cloudprovider/mcm/mcm_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ func (m *McmManager) SetMachineDeploymentSize(ctx context.Context, machinedeploy
// DeleteMachines deletes the Machines and also reduces the desired replicas of the MachineDeployment in parallel.
func (m *McmManager) DeleteMachines(targetMachineRefs []*Ref) error {
if len(targetMachineRefs) == 0 {
klog.V(2).Infof("[DeleteMachines] No machines to delete")
klog.V(2).Info("[DeleteMachines] No machines to delete")
return nil
}
commonMachineDeployment, err := m.GetMachineDeploymentForMachine(targetMachineRefs[0])
Expand Down

0 comments on commit e5dbbf3

Please sign in to comment.