Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziopandini authored and k8s-infra-cherrypick-robot committed Jan 20, 2025
1 parent be1bb7a commit 4945dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controllers/machineset/machineset_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ func (r *Reconciler) reconcileDelete(ctx context.Context, s *scope) (ctrl.Result
// else delete owned machines.
for _, machine := range machineList {
if machine.DeletionTimestamp.IsZero() {
log.Info("Deleting Machine (MS deleted)", "Machine", klog.KObj(machine))
log.Info("Deleting Machine (MachineSet deleted)", "Machine", klog.KObj(machine))
if err := r.Client.Delete(ctx, machine); err != nil && !apierrors.IsNotFound(err) {
return ctrl.Result{}, errors.Wrapf(err, "failed to delete Machine %s", klog.KObj(machine))
}
Expand Down

0 comments on commit 4945dde

Please sign in to comment.