Merge pull request #4830 from jlowdermilk/kubectl-e2e

Trim whitespace from kubectl in e2e/kubectl.go
This commit is contained in:
Zach Loafman 2015-02-25 15:37:23 -08:00
commit 447770aba4

View File

@ -188,5 +188,6 @@ func runKubectl(args ...string) string {
return "" return ""
} }
Logf(stdout.String()) Logf(stdout.String())
return stdout.String() // TODO: trimspace should be unnecessary after switching to use kubectl binary directly
return strings.TrimSpace(stdout.String())
} }