mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
FIX: just add a missing word in output
This commit is contained in:
parent
cd80d70c3d
commit
57f2af2834
@ -143,7 +143,7 @@ func runPreflight(c workflow.RunData) error {
|
|||||||
func checkIfReadyForAdditionalControlPlane(initConfiguration *kubeadmapi.ClusterConfiguration, hasCertificateKey bool) error {
|
func checkIfReadyForAdditionalControlPlane(initConfiguration *kubeadmapi.ClusterConfiguration, hasCertificateKey bool) error {
|
||||||
// blocks if the cluster was created without a stable control plane endpoint
|
// blocks if the cluster was created without a stable control plane endpoint
|
||||||
if initConfiguration.ControlPlaneEndpoint == "" {
|
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 {
|
if !hasCertificateKey {
|
||||||
|
Loading…
Reference in New Issue
Block a user