diff --git a/cmd/kubeadm/app/cmd/phases/init/preflight.go b/cmd/kubeadm/app/cmd/phases/init/preflight.go index f2e58fe316f..b55f02a1fb1 100644 --- a/cmd/kubeadm/app/cmd/phases/init/preflight.go +++ b/cmd/kubeadm/app/cmd/phases/init/preflight.go @@ -73,6 +73,6 @@ func runPreflight(c workflow.RunData) error { fmt.Println("[preflight] Pulling images required for setting up a Kubernetes cluster") fmt.Println("[preflight] This might take a minute or two, depending on the speed of your internet connection") - fmt.Println("[preflight] You can also perform this action in beforehand using 'kubeadm config images pull'") + fmt.Println("[preflight] You can also perform this action beforehand using 'kubeadm config images pull'") return preflight.RunPullImagesCheck(utilsexec.New(), data.Cfg(), data.IgnorePreflightErrors()) } diff --git a/cmd/kubeadm/app/cmd/phases/join/preflight.go b/cmd/kubeadm/app/cmd/phases/join/preflight.go index c0834292fcb..c891c85973c 100644 --- a/cmd/kubeadm/app/cmd/phases/join/preflight.go +++ b/cmd/kubeadm/app/cmd/phases/join/preflight.go @@ -131,7 +131,7 @@ func runPreflight(c workflow.RunData) error { fmt.Println("[preflight] Pulling images required for setting up a Kubernetes cluster") fmt.Println("[preflight] This might take a minute or two, depending on the speed of your internet connection") - fmt.Println("[preflight] You can also perform this action in beforehand using 'kubeadm config images pull'") + fmt.Println("[preflight] You can also perform this action beforehand using 'kubeadm config images pull'") if err := preflight.RunPullImagesCheck(utilsexec.New(), initCfg, j.IgnorePreflightErrors()); err != nil { return err } diff --git a/cmd/kubeadm/app/cmd/phases/upgrade/node/preflight.go b/cmd/kubeadm/app/cmd/phases/upgrade/node/preflight.go index 074da83d8c0..9d79f281cda 100644 --- a/cmd/kubeadm/app/cmd/phases/upgrade/node/preflight.go +++ b/cmd/kubeadm/app/cmd/phases/upgrade/node/preflight.go @@ -65,7 +65,7 @@ func runPreflight(c workflow.RunData) error { if !data.DryRun() { fmt.Println("[preflight] Pulling images required for setting up a Kubernetes cluster") fmt.Println("[preflight] This might take a minute or two, depending on the speed of your internet connection") - fmt.Println("[preflight] You can also perform this action in beforehand using 'kubeadm config images pull'") + fmt.Println("[preflight] You can also perform this action beforehand using 'kubeadm config images pull'") if err := preflight.RunPullImagesCheck(utilsexec.New(), initConfig, data.IgnorePreflightErrors()); err != nil { return err } diff --git a/cmd/kubeadm/app/cmd/upgrade/apply.go b/cmd/kubeadm/app/cmd/upgrade/apply.go index 2bbb9e58498..1aaefc08617 100644 --- a/cmd/kubeadm/app/cmd/upgrade/apply.go +++ b/cmd/kubeadm/app/cmd/upgrade/apply.go @@ -175,7 +175,7 @@ func runApply(flagSet *pflag.FlagSet, flags *applyFlags, args []string) error { if !flags.dryRun { fmt.Println("[upgrade/prepull] Pulling images required for setting up a Kubernetes cluster") fmt.Println("[upgrade/prepull] This might take a minute or two, depending on the speed of your internet connection") - fmt.Println("[upgrade/prepull] You can also perform this action in beforehand using 'kubeadm config images pull'") + fmt.Println("[upgrade/prepull] You can also perform this action beforehand using 'kubeadm config images pull'") if err := preflight.RunPullImagesCheck(utilsexec.New(), initCfg, sets.New(upgradeCfg.Apply.IgnorePreflightErrors...)); err != nil { return err }