Fix typos: update Enpoint to Endpoint

This commit is contained in:
caoyingjunz
2023-09-26 21:23:44 +08:00
committed by GitHub
parent 46835f8792
commit 2172ea6083

View File

@@ -189,7 +189,7 @@ func printOrCreateKubeProxyObjects(cmByte []byte, dsByte []byte, client clientse
}
func createKubeProxyConfigMap(cfg *kubeadmapi.ClusterConfiguration, localEndpoint *kubeadmapi.APIEndpoint, client clientset.Interface, printManifest bool) ([]byte, error) {
// Generate ControlPlane Enpoint kubeconfig file
// Generate ControlPlane Endpoint kubeconfig file
controlPlaneEndpoint, err := kubeadmutil.GetControlPlaneEndpoint(cfg.ControlPlaneEndpoint, localEndpoint)
if err != nil {
return []byte(""), err