Skip to content

Commit c9eb69c

Browse files
authored
Merge pull request #12059 from k8s-infra-cherrypick-robot/cherry-pick-12056-to-release-1.10
[release-1.10] 🌱 Fix typo in forward etcd leadership error message
2 parents 09c96a6 + 1c178ea commit c9eb69c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: controlplane/kubeadm/internal/workload_cluster_etcd.go

+1-1
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)