Reduce text clutter

pull/3687/head
Thomas Stromberg 2019-02-15 07:16:41 -08:00
parent 71971667a0
commit 4a1feb6531
4 changed files with 5 additions and 5 deletions

View File

@ -88,7 +88,7 @@ associated files.`,
}
exit.WithError("Failed to remove profile", err)
}
console.OutStyle("crushed", "The %q cluster is now deleted. I hope you are happy.", profile)
console.OutStyle("crushed", "The %q cluster has been deleted.", profile)
},
}

View File

@ -457,7 +457,7 @@ func configureRuntimes(h *host.Host, runner bootstrapper.CommandRunner) cruntime
if err != nil {
exit.WithError(fmt.Sprintf("Failed runtime for %+v", config), err)
}
console.OutStyle(cr.Name(), "Configuring %s as your container runtime ...", cr.Name())
console.OutStyle(cr.Name(), "Configuring %s as the container runtime ...", cr.Name())
for _, v := range dockerOpt {
console.OutStyle("option", "opt %s", v)
}
@ -485,7 +485,7 @@ func waitCacheImages(g *errgroup.Group) {
// bootstrapCluster starts Kubernetes using the chosen bootstrapper
func bootstrapCluster(bs bootstrapper.Bootstrapper, r cruntime.Manager, runner bootstrapper.CommandRunner, kc cfg.KubernetesConfig, preexisting bool) {
console.OutStyle("pulling", "Pulling images used by Kubernetes %s ...", kc.KubernetesVersion)
console.OutStyle("pulling", "Pulling images required by Kubernetes %s ...", kc.KubernetesVersion)
if err := bs.PullImages(kc); err != nil {
console.OutStyle("failure", "Unable to pull images, which may be OK: %v", err)
}

View File

@ -233,7 +233,7 @@ func (k *KubeadmBootstrapper) RestartCluster(k8s config.KubernetesConfig) error
}
// NOTE: Perhaps now would be a good time to check apiserver health?
console.OutStyle("waiting", "Restarting kube-proxy ...")
console.OutStyle("waiting", "Waiting for kube-proxy to come back up ...")
if err := restartKubeProxy(k8s); err != nil {
return errors.Wrap(err, "restarting kube-proxy")
}

View File

@ -87,7 +87,7 @@ func StartHost(api libmachine.API, config cfg.MachineConfig) (*host.Host, error)
console.Warning("Alternatively, you may delete the existing VM using `minikube delete -p %s`", cfg.GetMachineName())
console.Out("\n")
} else if exists && cfg.GetMachineName() == constants.DefaultMachineName {
console.OutStyle("tip", "Tip: To create a new cluster, use 'minikube start -p <new name>' or use 'minikube delete' to delete this one.")
console.OutStyle("tip", "Tip: Use 'minikube start -p <name>' to create a new cluster, or 'minikube delete' to delete this one.")
}
s, err := h.Driver.GetState()