Trim whitespace from kubectl in e2e/kubectl.go

This commit is contained in:
Jeff Lowdermilk 2015-02-25 15:26:51 -08:00
parent f12f50e996
commit 1db43f8f3e

View File

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