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
1a9e0f0d
Unverified
Commit
1a9e0f0d
authored
Feb 27, 2018
by
Matthew Fisher
Committed by
GitHub
Feb 27, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3535 from adshmh/fix-output-leak-from-pkg-tiller-tests
fix the output leak from test code under pkg/tiller
parents
642ad5c1
5b25eef9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
release_server_test.go
pkg/tiller/release_server_test.go
+3
-2
No files found.
pkg/tiller/release_server_test.go
View file @
1a9e0f0d
...
...
@@ -19,6 +19,7 @@ package tiller
import
(
"errors"
"io"
"io/ioutil"
"os"
"regexp"
"testing"
...
...
@@ -284,7 +285,7 @@ func releaseWithKeepStub(rlsName string) *release.Release {
func
MockEnvironment
()
*
environment
.
Environment
{
e
:=
environment
.
New
()
e
.
Releases
=
storage
.
Init
(
driver
.
NewMemory
())
e
.
KubeClient
=
&
environment
.
PrintingKubeClient
{
Out
:
os
.
Stdout
}
e
.
KubeClient
=
&
environment
.
PrintingKubeClient
{
Out
:
ioutil
.
Discard
}
return
e
}
...
...
@@ -305,7 +306,7 @@ func (u *updateFailingKubeClient) Update(namespace string, originalReader, modif
func
newHookFailingKubeClient
()
*
hookFailingKubeClient
{
return
&
hookFailingKubeClient
{
PrintingKubeClient
:
environment
.
PrintingKubeClient
{
Out
:
os
.
Stdout
},
PrintingKubeClient
:
environment
.
PrintingKubeClient
{
Out
:
ioutil
.
Discard
},
}
}
...
...
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