Fix grammatical errors and repeat words

This commit is contained in:
xichengliudui 2018-10-21 09:50:54 -04:00
parent 7cbb999518
commit 7946697e82
3 changed files with 3 additions and 3 deletions

View File

@ -84,7 +84,7 @@ type phaseRunner struct {
selfPath []string
// generatedName is the full name of the phase, that corresponds to the absolute
// path of the phase in the the workflow managed by the Runner.
// path of the phase in the workflow managed by the Runner.
generatedName string
// use is the phase usage string that will be printed in the workflow help.

View File

@ -43,7 +43,7 @@ type kubeletFlagsOpts struct {
defaultHostname string
}
// WriteKubeletDynamicEnvFile writes a environment file with dynamic flags to the kubelet.
// WriteKubeletDynamicEnvFile writes an environment file with dynamic flags to the kubelet.
// Used at "kubeadm init" and "kubeadm join" time.
func WriteKubeletDynamicEnvFile(nodeRegOpts *kubeadmapi.NodeRegistrationOptions, featureGates map[string]bool, registerTaintsUsingFlags bool, kubeletDir string) error {
hostName, err := nodeutil.GetHostname("")

View File

@ -1007,7 +1007,7 @@ func RunRootCheckOnly(ignorePreflightErrors sets.String) error {
return RunChecks(checks, os.Stderr, ignorePreflightErrors)
}
// RunPullImagesCheck will pull images kubeadm needs if the are not found on the system
// RunPullImagesCheck will pull images kubeadm needs if they are not found on the system
func RunPullImagesCheck(execer utilsexec.Interface, cfg *kubeadmapi.InitConfiguration, ignorePreflightErrors sets.String) error {
containerRuntime, err := utilruntime.NewContainerRuntime(utilsexec.New(), cfg.GetCRISocket())
if err != nil {