mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-02 17:57:33 +00:00
Merge pull request #125158 from mttrb/kubeadm-grammar
Fix grammar in kubeadm output
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user