Skip to content

Commit

Permalink
Merge pull request #104585 from la3mmchen/fix/typo
Browse files Browse the repository at this point in the history
kubeadm: add missing word in output error
  • Loading branch information
k8s-ci-robot committed Aug 26, 2021
2 parents 9e0d3fd + 57f2af2 commit 718f1b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kubeadm/app/cmd/phases/join/preflight.go
Expand Up @@ -143,7 +143,7 @@ func runPreflight(c workflow.RunData) error {
func checkIfReadyForAdditionalControlPlane(initConfiguration *kubeadmapi.ClusterConfiguration, hasCertificateKey bool) error {
// blocks if the cluster was created without a stable control plane endpoint
if initConfiguration.ControlPlaneEndpoint == "" {
return errors.New("unable to add a new control plane instance a cluster that doesn't have a stable controlPlaneEndpoint address")
return errors.New("unable to add a new control plane instance to a cluster that doesn't have a stable controlPlaneEndpoint address")
}

if !hasCertificateKey {
Expand Down

0 comments on commit 718f1b6

Please sign in to comment.