Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
b704947d
Commit
b704947d
authored
Jun 26, 2017
by
Justin Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken tests due to "server-side" text change.
parent
af4c243e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
init_test.go
cmd/helm/init_test.go
+1
-1
reset.go
cmd/helm/reset.go
+2
-2
reset_test.go
cmd/helm/reset_test.go
+3
-3
helm_reset.md
docs/helm/helm_reset.md
+2
-2
No files found.
cmd/helm/init_test.go
View file @
b704947d
...
...
@@ -67,7 +67,7 @@ func TestInitCmd(t *testing.T) {
if
!
actions
[
1
]
.
Matches
(
"create"
,
"services"
)
{
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
)
{
t
.
Errorf
(
"expected %q, got %q"
,
expected
,
buf
.
String
())
}
...
...
cmd/helm/reset.go
View file @
b704947d
...
...
@@ -32,7 +32,7 @@ import (
)
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
$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
}
...
...
cmd/helm/reset_test.go
View file @
b704947d
...
...
@@ -55,7 +55,7 @@ func TestResetCmd(t *testing.T) {
if
len
(
actions
)
!=
2
{
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
)
{
t
.
Errorf
(
"expected %q, got %q"
,
expected
,
buf
.
String
())
}
...
...
@@ -89,7 +89,7 @@ func TestResetCmd_removeHelmHome(t *testing.T) {
if
len
(
actions
)
!=
2
{
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
)
{
t
.
Errorf
(
"expected %q, got %q"
,
expected
,
buf
.
String
())
}
...
...
@@ -160,7 +160,7 @@ func TestReset_forceFlag(t *testing.T) {
if
len
(
actions
)
!=
2
{
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
)
{
t
.
Errorf
(
"expected %q, got %q"
,
expected
,
buf
.
String
())
}
...
...
docs/helm/helm_reset.md
View file @
b704947d
...
...
@@ -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
$HELM_HOME (default ~/.helm/)
...
...
@@ -40,4 +40,4 @@ helm reset
### SEE ALSO
*
[
helm
](
helm.md
)
- The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 2
3
-Jun-2017
###### Auto generated by spf13/cobra on 2
6
-Jun-2017
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment