Skip to content

Commit 294a5c3

Browse files
authored
Merge pull request #8036 from tstromberg/help-me
Make `minikube help` output consistent
2 parents 269b938 + cad2960 commit 294a5c3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+210
-209
lines changed

cmd/minikube/cmd/cache.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ const cacheImageConfigKey = "cache"
3131
// cacheCmd represents the cache command
3232
var cacheCmd = &cobra.Command{
3333
Use: "cache",
34-
Short: "Add or delete an image from the local cache.",
35-
Long: "Add or delete an image from the local cache.",
34+
Short: "Add, delete, or push a local image into minikube",
35+
Long: "Add, delete, or push a local image into minikube",
3636
}
3737

3838
// addCacheCmd represents the cache add command

cmd/minikube/cmd/completion.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const boilerPlate = `
6969

7070
var completionCmd = &cobra.Command{
7171
Use: "completion SHELL",
72-
Short: "Outputs minikube shell completion for the given shell (bash, zsh or fish)",
72+
Short: "Generate command completion for a shell",
7373
Long: longDescription,
7474
Run: func(cmd *cobra.Command, args []string) {
7575
if len(args) != 1 {

cmd/minikube/cmd/config/addons.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
// AddonsCmd represents the addons command
2525
var AddonsCmd = &cobra.Command{
2626
Use: "addons SUBCOMMAND [flags]",
27-
Short: "Modify minikube's kubernetes addons",
27+
Short: "Enable or disable a minikube addon",
2828
Long: `addons modifies minikube addons files using subcommands like "minikube addons enable dashboard"`,
2929
Run: func(cmd *cobra.Command, args []string) {
3030
if err := cmd.Help(); err != nil {

cmd/minikube/cmd/config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ var settings = []Setting{
177177
// ConfigCmd represents the config command
178178
var ConfigCmd = &cobra.Command{
179179
Use: "config SUBCOMMAND [flags]",
180-
Short: "Modify minikube config",
180+
Short: "Modify persistent configuration values",
181181
Long: `config modifies minikube config files using subcommands like "minikube config set driver kvm"
182182
Configurable fields: ` + "\n\n" + configurableFields(),
183183
Run: func(cmd *cobra.Command, args []string) {

cmd/minikube/cmd/config/open.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ You can add one by annotating a service with the label {{.labelName}}:{{.addonNa
9494
}
9595

9696
if len(urlString) != 0 {
97-
out.T(out.Celebrate, "Opening kubernetes service {{.namespace_name}}/{{.service_name}} in default browser...", out.V{"namespace_name": namespace, "service_name": svc})
97+
out.T(out.Celebrate, "Opening Kubernetes service {{.namespace_name}}/{{.service_name}} in default browser...", out.V{"namespace_name": namespace, "service_name": svc})
9898
for _, url := range urlString {
9999
if err := browser.OpenURL(url); err != nil {
100100
exit.WithError(fmt.Sprintf("browser failed to open url %s", url), err)
@@ -106,7 +106,7 @@ You can add one by annotating a service with the label {{.labelName}}:{{.addonNa
106106
}
107107

108108
func init() {
109-
addonsOpenCmd.Flags().BoolVar(&addonsURLMode, "url", false, "Display the kubernetes addons URL in the CLI instead of opening it in the default browser")
109+
addonsOpenCmd.Flags().BoolVar(&addonsURLMode, "url", false, "Display the Kubernetes addons URL in the CLI instead of opening it in the default browser")
110110
addonsOpenCmd.Flags().BoolVar(&https, "https", false, "Open the addons URL with https instead of http")
111111
addonsOpenCmd.Flags().IntVar(&wait, "wait", service.DefaultWait, "Amount of time to wait for service in seconds")
112112
addonsOpenCmd.Flags().IntVar(&interval, "interval", service.DefaultInterval, "The time interval for each check that wait performs in seconds")

cmd/minikube/cmd/config/profile.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030
// ProfileCmd represents the profile command
3131
var ProfileCmd = &cobra.Command{
3232
Use: "profile [MINIKUBE_PROFILE_NAME]. You can return to the default minikube profile by running `minikube profile default`",
33-
Short: "Profile gets or sets the current minikube profile",
33+
Short: "Get or list the the current profiles (clusters)",
3434
Long: "profile sets the current minikube profile, or gets the current profile if no arguments are provided. This is used to run and manage multiple minikube instance. You can return to the default minikube profile by running `minikube profile default`",
3535
Run: func(cmd *cobra.Command, args []string) {
3636
if len(args) == 0 {

cmd/minikube/cmd/dashboard.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ var (
5151
// dashboardCmd represents the dashboard command
5252
var dashboardCmd = &cobra.Command{
5353
Use: "dashboard",
54-
Short: "Access the kubernetes dashboard running within the minikube cluster",
55-
Long: `Access the kubernetes dashboard running within the minikube cluster`,
54+
Short: "Access the Kubernetes dashboard running within the minikube cluster",
55+
Long: `Access the Kubernetes dashboard running within the minikube cluster`,
5656
Run: func(cmd *cobra.Command, args []string) {
5757
cname := ClusterFlagValue()
5858
co := mustload.Healthy(cname)

cmd/minikube/cmd/delete.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ var purge bool
5151
// deleteCmd represents the delete command
5252
var deleteCmd = &cobra.Command{
5353
Use: "delete",
54-
Short: "Deletes a local kubernetes cluster",
55-
Long: `Deletes a local kubernetes cluster. This command deletes the VM, and removes all
54+
Short: "Deletes a local Kubernetes cluster",
55+
Long: `Deletes a local Kubernetes cluster. This command deletes the VM, and removes all
5656
associated files.`,
5757
Run: runDelete,
5858
}

cmd/minikube/cmd/docker-env.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func isDockerActive(r command.Runner) bool {
122122
// dockerEnvCmd represents the docker-env command
123123
var dockerEnvCmd = &cobra.Command{
124124
Use: "docker-env",
125-
Short: "Sets up docker env variables; similar to '$(docker-machine env)'",
125+
Short: "Configure environment to use minikube's Docker daemon",
126126
Long: `Sets up docker env variables; similar to '$(docker-machine env)'.`,
127127
Run: func(cmd *cobra.Command, args []string) {
128128
cname := ClusterFlagValue()

cmd/minikube/cmd/kubectl.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ import (
3333
// kubectlCmd represents the kubectl command
3434
var kubectlCmd = &cobra.Command{
3535
Use: "kubectl",
36-
Short: "Run kubectl",
37-
Long: `Run the kubernetes client, download it if necessary. Remember -- after kubectl!
36+
Short: "Run a kubectl binary matching the cluster version",
37+
Long: `Run the Kubernetes client, download it if necessary. Remember -- after kubectl!
3838
3939
Examples:
4040
minikube kubectl -- --help

cmd/minikube/cmd/logs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ var (
4848
// logsCmd represents the logs command
4949
var logsCmd = &cobra.Command{
5050
Use: "logs",
51-
Short: "Gets the logs of the running instance, used for debugging minikube, not user code.",
51+
Short: "Returns logs to debug a local Kubernetes cluster",
5252
Long: `Gets the logs of the running instance, used for debugging minikube, not user code.`,
5353
Run: func(cmd *cobra.Command, args []string) {
5454
co := mustload.Running(ClusterFlagValue())

cmd/minikube/cmd/node.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
// nodeCmd represents the set of node subcommands
2525
var nodeCmd = &cobra.Command{
2626
Use: "node",
27-
Short: "Node operations",
27+
Short: "Add, remove, or list additional nodes",
2828
Long: "Operations on nodes",
2929
Run: func(cmd *cobra.Command, args []string) {
3030
exit.UsageT("Usage: minikube node [add|start|stop|delete|list]")

cmd/minikube/cmd/node_list.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030
var nodeListCmd = &cobra.Command{
3131
Use: "list",
3232
Short: "List nodes.",
33-
Long: "List existing Minikube nodes.",
33+
Long: "List existing minikube nodes.",
3434
Run: func(cmd *cobra.Command, args []string) {
3535
if len(args) != 0 {
3636
exit.UsageT("Usage: minikube node list")
@@ -40,7 +40,7 @@ var nodeListCmd = &cobra.Command{
4040
_, cc := mustload.Partial(cname)
4141

4242
if len(cc.Nodes) < 1 {
43-
glog.Warningf("Did not found any Minikube node.")
43+
glog.Warningf("Did not found any minikube node.")
4444
} else {
4545
glog.Infof("%v", cc.Nodes)
4646
}

cmd/minikube/cmd/options.go

+5-4
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ import (
2828

2929
// optionsCmd represents the options command
3030
var optionsCmd = &cobra.Command{
31-
Use: "options",
32-
Short: "Show a list of global command-line options (applies to all commands).",
33-
Long: "Show a list of global command-line options (applies to all commands).",
34-
Run: runOptions,
31+
Use: "options",
32+
Short: "Show a list of global command-line options (applies to all commands).",
33+
Long: "Show a list of global command-line options (applies to all commands).",
34+
Hidden: true,
35+
Run: runOptions,
3536
}
3637

3738
// runOptions handles the executes the flow of "minikube options"

cmd/minikube/cmd/pause.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var (
4141
// pauseCmd represents the docker-pause command
4242
var pauseCmd = &cobra.Command{
4343
Use: "pause",
44-
Short: "pause containers",
44+
Short: "pause Kubernetes",
4545
Run: runPause,
4646
}
4747

cmd/minikube/cmd/podman-env.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func createExternalSSHClient(d drivers.Driver) (*ssh.ExternalClient, error) {
103103
// podmanEnvCmd represents the podman-env command
104104
var podmanEnvCmd = &cobra.Command{
105105
Use: "podman-env",
106-
Short: "Sets up podman env variables; similar to '$(podman-machine env)'",
106+
Short: "Configure environment to use minikube's Podman daemon",
107107
Long: `Sets up podman env variables; similar to '$(podman-machine env)'.`,
108108
Run: func(cmd *cobra.Command, args []string) {
109109
cname := ClusterFlagValue()

cmd/minikube/cmd/root.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ var viperWhiteList = []string{
5858
// RootCmd represents the base command when called without any subcommands
5959
var RootCmd = &cobra.Command{
6060
Use: "minikube",
61-
Short: "Minikube is a tool for managing local Kubernetes clusters.",
62-
Long: `Minikube is a CLI tool that provisions and manages single-node Kubernetes clusters optimized for development workflows.`,
61+
Short: "minikube quickly sets up a local Kubernetes cluster",
62+
Long: `minikube provisions and manages local Kubernetes clusters optimized for development workflows.`,
6363
PersistentPreRun: func(cmd *cobra.Command, args []string) {
6464
for _, path := range dirs {
6565
if err := os.MkdirAll(path, 0777); err != nil {
@@ -163,7 +163,7 @@ func setFlagsUsingViper() {
163163
func init() {
164164
translate.DetermineLocale()
165165
RootCmd.PersistentFlags().StringP(config.ProfileName, "p", constants.DefaultClusterName, `The name of the minikube VM being used. This can be set to allow having multiple instances of minikube independently.`)
166-
RootCmd.PersistentFlags().StringP(configCmd.Bootstrapper, "b", "kubeadm", "The name of the cluster bootstrapper that will set up the kubernetes cluster.")
166+
RootCmd.PersistentFlags().StringP(configCmd.Bootstrapper, "b", "kubeadm", "The name of the cluster bootstrapper that will set up the Kubernetes cluster.")
167167

168168
groups := templates.CommandGroups{
169169
{

cmd/minikube/cmd/service.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ var (
5959
// serviceCmd represents the service command
6060
var serviceCmd = &cobra.Command{
6161
Use: "service [flags] SERVICE",
62-
Short: "Gets the kubernetes URL(s) for the specified service in your local cluster",
63-
Long: `Gets the kubernetes URL(s) for the specified service in your local cluster. In the case of multiple URLs they will be printed one at a time.`,
62+
Short: "Returns a URL to connect to a service",
63+
Long: `Returns the Kubernetes URL for a service in your local cluster. In the case of multiple URLs they will be printed one at a time.`,
6464
PersistentPreRun: func(cmd *cobra.Command, args []string) {
6565
t, err := template.New("serviceURL").Parse(serviceURLFormat)
6666
if err != nil {
@@ -101,7 +101,7 @@ You may select another namespace by using 'minikube service {{.service}} -n <nam
101101

102102
func init() {
103103
serviceCmd.Flags().StringVarP(&namespace, "namespace", "n", "default", "The service namespace")
104-
serviceCmd.Flags().BoolVar(&serviceURLMode, "url", false, "Display the kubernetes service URL in the CLI instead of opening it in the default browser")
104+
serviceCmd.Flags().BoolVar(&serviceURLMode, "url", false, "Display the Kubernetes service URL in the CLI instead of opening it in the default browser")
105105
serviceCmd.Flags().BoolVar(&https, "https", false, "Open the service URL with https instead of http")
106106
serviceCmd.Flags().IntVar(&wait, "wait", service.DefaultWait, "Amount of time to wait for a service in seconds")
107107
serviceCmd.Flags().IntVar(&interval, "interval", service.DefaultInterval, "The initial time interval for each check that wait performs in seconds")

cmd/minikube/cmd/ssh.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var (
3838
// sshCmd represents the docker-ssh command
3939
var sshCmd = &cobra.Command{
4040
Use: "ssh",
41-
Short: "Log into or run a command on a machine with SSH; similar to 'docker-machine ssh'",
41+
Short: "Log into the minikube environment (for debugging)",
4242
Long: "Log into or run a command on a machine with SSH; similar to 'docker-machine ssh'.",
4343
Run: func(cmd *cobra.Command, args []string) {
4444
cname := ClusterFlagValue()

cmd/minikube/cmd/start.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ func init() {
8383
// startCmd represents the start command
8484
var startCmd = &cobra.Command{
8585
Use: "start",
86-
Short: "Starts a local kubernetes cluster",
87-
Long: "Starts a local kubernetes cluster",
86+
Short: "Starts a local Kubernetes cluster",
87+
Long: "Starts a local Kubernetes cluster",
8888
Run: runStart,
8989
}
9090

@@ -436,7 +436,7 @@ func maybeDeleteAndRetry(cc config.ClusterConfig, n config.Node, existingAddons
436436
func kubectlVersion(path string) (string, error) {
437437
j, err := exec.Command(path, "version", "--client", "--output=json").Output()
438438
if err != nil {
439-
// really old kubernetes clients did not have the --output parameter
439+
// really old Kubernetes clients did not have the --output parameter
440440
b, err := exec.Command(path, "version", "--client", "--short").Output()
441441
if err != nil {
442442
return "", errors.Wrap(err, "exec")
@@ -839,7 +839,7 @@ func validateFlags(cmd *cobra.Command, drvName string) {
839839
out.WarningT("Using the '{{.runtime}}' runtime with the 'none' driver is an untested configuration!", out.V{"runtime": runtime})
840840
}
841841

842-
// conntrack is required starting with kubernetes 1.18, include the release candidates for completion
842+
// conntrack is required starting with Kubernetes 1.18, include the release candidates for completion
843843
version, _ := util.ParseKubernetesVersion(getKubernetesVersion(nil))
844844
if version.GTE(semver.MustParse("1.18.0-beta.1")) {
845845
if _, err := exec.LookPath("conntrack"); err != nil {

cmd/minikube/cmd/start_flags.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func initMinikubeFlags() {
131131
startCmd.Flags().String(criSocket, "", "The cri socket path to be used.")
132132
startCmd.Flags().String(networkPlugin, "", "The name of the network plugin.")
133133
startCmd.Flags().Bool(enableDefaultCNI, false, "Enable the default CNI plugin (/etc/cni/net.d/k8s.conf). Used in conjunction with \"--network-plugin=cni\".")
134-
startCmd.Flags().StringSlice(waitComponents, kverify.DefaultWaitList, fmt.Sprintf("comma separated list of kubernetes components to verify and wait for after starting a cluster. defaults to %q, available options: %q . other acceptable values are 'all' or 'none', 'true' and 'false'", strings.Join(kverify.DefaultWaitList, ","), strings.Join(kverify.AllComponentsList, ",")))
134+
startCmd.Flags().StringSlice(waitComponents, kverify.DefaultWaitList, fmt.Sprintf("comma separated list of Kubernetes components to verify and wait for after starting a cluster. defaults to %q, available options: %q . other acceptable values are 'all' or 'none', 'true' and 'false'", strings.Join(kverify.DefaultWaitList, ","), strings.Join(kverify.AllComponentsList, ",")))
135135
startCmd.Flags().Duration(waitTimeout, 6*time.Minute, "max time to wait per Kubernetes core services to be healthy.")
136136
startCmd.Flags().Bool(nativeSSH, true, "Use native Golang SSH client (default true). Set to 'false' to use the command line 'ssh' command when accessing the docker machine. Useful for the machine drivers when they will not start with 'Waiting for SSH'.")
137137
startCmd.Flags().Bool(autoUpdate, true, "If set, automatically updates drivers to the latest version. Defaults to true.")
@@ -142,16 +142,16 @@ func initMinikubeFlags() {
142142
startCmd.Flags().Bool(forceSystemd, false, "If set, force the container runtime to use sytemd as cgroup manager. Currently available for docker and crio. Defaults to false.")
143143
}
144144

145-
// initKubernetesFlags inits the commandline flags for kubernetes related options
145+
// initKubernetesFlags inits the commandline flags for Kubernetes related options
146146
func initKubernetesFlags() {
147-
startCmd.Flags().String(kubernetesVersion, "", fmt.Sprintf("The kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for %s, 'latest' for %s). Defaults to 'stable'.", constants.DefaultKubernetesVersion, constants.NewestKubernetesVersion))
147+
startCmd.Flags().String(kubernetesVersion, "", fmt.Sprintf("The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for %s, 'latest' for %s). Defaults to 'stable'.", constants.DefaultKubernetesVersion, constants.NewestKubernetesVersion))
148148
startCmd.Flags().Var(&config.ExtraOptions, "extra-config",
149149
`A set of key=value pairs that describe configuration that may be passed to different components.
150150
The key should be '.' separated, and the first part before the dot is the component to apply the configuration to.
151151
Valid components are: kubelet, kubeadm, apiserver, controller-manager, etcd, proxy, scheduler
152152
Valid kubeadm parameters: `+fmt.Sprintf("%s, %s", strings.Join(bsutil.KubeadmExtraArgsWhitelist[bsutil.KubeadmCmdParam], ", "), strings.Join(bsutil.KubeadmExtraArgsWhitelist[bsutil.KubeadmConfigParam], ",")))
153153
startCmd.Flags().String(featureGates, "", "A set of key=value pairs that describe feature gates for alpha/experimental features.")
154-
startCmd.Flags().String(dnsDomain, constants.ClusterDNSDomain, "The cluster dns domain name used in the kubernetes cluster")
154+
startCmd.Flags().String(dnsDomain, constants.ClusterDNSDomain, "The cluster dns domain name used in the Kubernetes cluster")
155155
startCmd.Flags().Int(apiServerPort, constants.APIServerPort, "The apiserver listening port")
156156
startCmd.Flags().String(apiServerName, constants.APIServerName, "The authoritative apiserver hostname for apiserver certificates and connectivity. This can be used if you want to make the apiserver available from outside the machine")
157157
startCmd.Flags().StringArrayVar(&apiServerNames, "apiserver-names", nil, "A set of apiserver names which are used in the generated certificate for kubernetes. This can be used if you want to make the apiserver available from outside the machine")

cmd/minikube/cmd/status.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ kubelet: {{.Kubelet}}
9191
// statusCmd represents the status command
9292
var statusCmd = &cobra.Command{
9393
Use: "status",
94-
Short: "Gets the status of a local kubernetes cluster",
95-
Long: `Gets the status of a local kubernetes cluster.
96-
Exit status contains the status of minikube's VM, cluster and kubernetes encoded on it's bits in this order from right to left.
97-
Eg: 7 meaning: 1 (for minikube NOK) + 2 (for cluster NOK) + 4 (for kubernetes NOK)`,
94+
Short: "Gets the status of a local Kubernetes cluster",
95+
Long: `Gets the status of a local Kubernetes cluster.
96+
Exit status contains the status of minikube's VM, cluster and Kubernetes encoded on it's bits in this order from right to left.
97+
Eg: 7 meaning: 1 (for minikube NOK) + 2 (for cluster NOK) + 4 (for Kubernetes NOK)`,
9898
Run: func(cmd *cobra.Command, args []string) {
9999

100100
if output != "text" && statusFormat != defaultStatusFormat {

cmd/minikube/cmd/stop.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ import (
3636
// stopCmd represents the stop command
3737
var stopCmd = &cobra.Command{
3838
Use: "stop",
39-
Short: "Stops a running local kubernetes cluster",
40-
Long: `Stops a local kubernetes cluster running in Virtualbox. This command stops the VM
39+
Short: "Stops a running local Kubernetes cluster",
40+
Long: `Stops a local Kubernetes cluster running in Virtualbox. This command stops the VM
4141
itself, leaving all files intact. The cluster can be started again with the "start" command.`,
4242
Run: runStop,
4343
}

cmd/minikube/cmd/tunnel.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var cleanup bool
4242
// tunnelCmd represents the tunnel command
4343
var tunnelCmd = &cobra.Command{
4444
Use: "tunnel",
45-
Short: "tunnel makes services of type LoadBalancer accessible on localhost",
45+
Short: "Connect to LoadBalancer services",
4646
Long: `tunnel creates a route to services deployed with type LoadBalancer and sets their Ingress to their ClusterIP. for a detailed example see https://minikube.sigs.k8s.io/docs/tasks/loadbalancer`,
4747
PersistentPreRun: func(cmd *cobra.Command, args []string) {
4848
RootCmd.PersistentPreRun(cmd, args)

cmd/minikube/cmd/update-context.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
// updateContextCmd represents the update-context command
2828
var updateContextCmd = &cobra.Command{
2929
Use: "update-context",
30-
Short: "Verify the IP address of the running cluster in kubeconfig.",
30+
Short: "Update kubeconfig in case of an IP or port change",
3131
Long: `Retrieves the IP address of the running cluster, checks it
3232
with IP in kubeconfig, and corrects kubeconfig if incorrect.`,
3333
Run: func(cmd *cobra.Command, args []string) {

hack/preload-images/generate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func generateTarball(kubernetesVersion, containerRuntime, tarballFilename string
7474
// will need to do this to enable the container run-time service
7575
sv, err := util.ParseKubernetesVersion(kubernetesVersion)
7676
if err != nil {
77-
return errors.Wrap(err, "Failed to parse kubernetes version")
77+
return errors.Wrap(err, "Failed to parse Kubernetes version")
7878
}
7979

8080
co := cruntime.Config{

0 commit comments

Comments
 (0)