Commit 447770ab authored by Zach Loafman's avatar Zach Loafman

Merge pull request #4830 from jlowdermilk/kubectl-e2e

Trim whitespace from kubectl in e2e/kubectl.go
parents f12f50e9 1db43f8f
...@@ -188,5 +188,6 @@ func runKubectl(args ...string) string { ...@@ -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())
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment