Capitalize 'helm' text that was missed.

pull/2601/head
Justin Scott 7 years ago
parent b704947d54
commit 37e5f76f9e

@ -67,7 +67,7 @@ func TestInitCmd(t *testing.T) {
if !actions[1].Matches("create", "services") { if !actions[1].Matches("create", "services") {
t.Errorf("unexpected action: %v, expected create service", actions[1]) t.Errorf("unexpected action: %v, expected create service", actions[1])
} }
expected := "Tiller (the helm server-side component) has been installed into your Kubernetes Cluster." expected := "Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster."
if !strings.Contains(buf.String(), expected) { if !strings.Contains(buf.String(), expected) {
t.Errorf("expected %q, got %q", expected, buf.String()) t.Errorf("expected %q, got %q", expected, buf.String())
} }

@ -32,7 +32,7 @@ import (
) )
const resetDesc = ` const resetDesc = `
This command uninstalls Tiller (the helm server-side component) from your This command uninstalls Tiller (the Helm server-side component) from your
Kubernetes Cluster and optionally deletes local configuration in Kubernetes Cluster and optionally deletes local configuration in
$HELM_HOME (default ~/.helm/) $HELM_HOME (default ~/.helm/)
` `
@ -114,7 +114,7 @@ func (d *resetCmd) run() error {
} }
} }
fmt.Fprintln(d.out, "Tiller (the helm server-side component) has been uninstalled from your Kubernetes Cluster.") fmt.Fprintln(d.out, "Tiller (the Helm server-side component) has been uninstalled from your Kubernetes Cluster.")
return nil return nil
} }

@ -55,7 +55,7 @@ func TestResetCmd(t *testing.T) {
if len(actions) != 2 { if len(actions) != 2 {
t.Errorf("Expected 2 actions, got %d", len(actions)) t.Errorf("Expected 2 actions, got %d", len(actions))
} }
expected := "Tiller (the helm server-side component) has been uninstalled from your Kubernetes Cluster." expected := "Tiller (the Helm server-side component) has been uninstalled from your Kubernetes Cluster."
if !strings.Contains(buf.String(), expected) { if !strings.Contains(buf.String(), expected) {
t.Errorf("expected %q, got %q", expected, buf.String()) t.Errorf("expected %q, got %q", expected, buf.String())
} }
@ -89,7 +89,7 @@ func TestResetCmd_removeHelmHome(t *testing.T) {
if len(actions) != 2 { if len(actions) != 2 {
t.Errorf("Expected 2 actions, got %d", len(actions)) t.Errorf("Expected 2 actions, got %d", len(actions))
} }
expected := "Tiller (the helm server-side component) has been uninstalled from your Kubernetes Cluster." expected := "Tiller (the Helm server-side component) has been uninstalled from your Kubernetes Cluster."
if !strings.Contains(buf.String(), expected) { if !strings.Contains(buf.String(), expected) {
t.Errorf("expected %q, got %q", expected, buf.String()) t.Errorf("expected %q, got %q", expected, buf.String())
} }
@ -160,7 +160,7 @@ func TestReset_forceFlag(t *testing.T) {
if len(actions) != 2 { if len(actions) != 2 {
t.Errorf("Expected 2 actions, got %d", len(actions)) t.Errorf("Expected 2 actions, got %d", len(actions))
} }
expected := "Tiller (the helm server-side component) has been uninstalled from your Kubernetes Cluster." expected := "Tiller (the Helm server-side component) has been uninstalled from your Kubernetes Cluster."
if !strings.Contains(buf.String(), expected) { if !strings.Contains(buf.String(), expected) {
t.Errorf("expected %q, got %q", expected, buf.String()) t.Errorf("expected %q, got %q", expected, buf.String())
} }

@ -6,7 +6,7 @@ uninstalls Tiller from a cluster
This command uninstalls Tiller (the helm server-side component) from your This command uninstalls Tiller (the Helm server-side component) from your
Kubernetes Cluster and optionally deletes local configuration in Kubernetes Cluster and optionally deletes local configuration in
$HELM_HOME (default ~/.helm/) $HELM_HOME (default ~/.helm/)
@ -40,4 +40,4 @@ helm reset
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 26-Jun-2017 ###### Auto generated by spf13/cobra on 27-Jun-2017

Loading…
Cancel
Save