Skip to content

Commit 1c178ea

Browse files
dlipovetskyk8s-infra-cherrypick-robot
authored andcommitted
Fix typo in error message
1 parent 09c96a6 commit 1c178ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controlplane/kubeadm/internal/workload_cluster_etcd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func (w *Workload) ForwardEtcdLeadership(ctx context.Context, machine *clusterv1
143143
return errors.New("leader candidate cannot be nil")
144144
}
145145
if leaderCandidate.Status.NodeRef == nil {
146-
return errors.New("leader has no node reference")
146+
return errors.New("leader candidate has no node reference")
147147
}
148148

149149
nodes, err := w.getControlPlaneNodes(ctx)

0 commit comments

Comments
 (0)