Skip to content

Commit

Permalink
adjust logs
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabh-11 committed Sep 27, 2024
1 parent 89c0516 commit 348cfbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cluster-autoscaler/cloudprovider/mcm/mcm_cloud_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func ReferenceFromProviderID(m *McmManager, id string) (*Ref, error) {

if Name == "" {
// Could not find any machine corresponds to node %+v", id
klog.V(4).Infof("No machine found for node ID %q", id)
klog.V(2).Infof("No machine found for node ID %q", id)
return nil, nil
}
return &Ref{
Expand Down
1 change: 1 addition & 0 deletions cluster-autoscaler/cloudprovider/mcm/mcm_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +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")
return nil
}
commonMachineDeployment, err := m.GetMachineDeploymentForMachine(targetMachineRefs[0])
Expand Down

0 comments on commit 348cfbb

Please sign in to comment.