mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Fix grammar in kubeadm output
This commit is contained in:
parent
5d1a97ce09
commit
8b1b32f226
@ -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] 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] 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())
|
return preflight.RunPullImagesCheck(utilsexec.New(), data.Cfg(), data.IgnorePreflightErrors())
|
||||||
}
|
}
|
||||||
|
@ -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] 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] 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 {
|
if err := preflight.RunPullImagesCheck(utilsexec.New(), initCfg, j.IgnorePreflightErrors()); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
@ -65,7 +65,7 @@ func runPreflight(c workflow.RunData) error {
|
|||||||
if !data.DryRun() {
|
if !data.DryRun() {
|
||||||
fmt.Println("[preflight] Pulling images required for setting up a Kubernetes cluster")
|
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] 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 {
|
if err := preflight.RunPullImagesCheck(utilsexec.New(), initConfig, data.IgnorePreflightErrors()); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
@ -175,7 +175,7 @@ func runApply(flagSet *pflag.FlagSet, flags *applyFlags, args []string) error {
|
|||||||
if !flags.dryRun {
|
if !flags.dryRun {
|
||||||
fmt.Println("[upgrade/prepull] Pulling images required for setting up a Kubernetes cluster")
|
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] 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 {
|
if err := preflight.RunPullImagesCheck(utilsexec.New(), initCfg, sets.New(upgradeCfg.Apply.IgnorePreflightErrors...)); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user