Skip to content

Commit 1b5252b

Browse files
committed
Fix error.Wrapf formatting
1 parent 309cf86 commit 1b5252b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exp/internal/controllers/machinepool_controller_phases.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ func (r *MachinePoolReconciler) reconcileInfrastructure(ctx context.Context, clu
285285

286286
log.V(2).Info("Preparing to reconcile machine pool machines")
287287
if err := r.reconcileMachinePoolMachines(ctx, mp, infraConfig); err != nil {
288-
return ctrl.Result{}, errors.Wrapf(err, "failed to reconcile MachinePool machines", "machinepool", mp.Name)
288+
return ctrl.Result{}, errors.Wrapf(err, "failed to reconcile MachinePool machines for MachinePool `%s`", mp.Name)
289289
}
290290

291291
if !mp.Status.InfrastructureReady {

0 commit comments

Comments
 (0)