Merge pull request #120894 from caoyingjunz/caoyingjunz-patch-1

Fix typos: update Enpoint to Endpoint
This commit is contained in:
Kubernetes Prow Robot
2023-09-27 02:01:24 -07:00
committed by GitHub

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