mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Trim whitespace from kubectl in e2e/kubectl.go
This commit is contained in:
parent
f12f50e996
commit
1db43f8f3e
@ -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())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user