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
commit c989473dc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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