mirror of https://github.com/k3s-io/k3s
Fix node e2e startServer failure output
Correct the display of the output when e.g. starting the kubelet fails in the node e2e tests. This change makes it display a string instead of an array of decimal values.pull/6/head
parent
9db45590cf
commit
e630070078
|
@ -173,7 +173,7 @@ func (es *e2eService) startServer(cmd *healthCheckCommand) error {
|
||||||
go func() {
|
go func() {
|
||||||
err := cmd.Run()
|
err := cmd.Run()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
cmdErrorChan <- fmt.Errorf("%s Failed with error \"%v\". Command output:\n%v", cmd, err, *cmd.OutputBuffer)
|
cmdErrorChan <- fmt.Errorf("%s Failed with error \"%v\". Command output:\n%s", cmd, err, cmd.OutputBuffer)
|
||||||
}
|
}
|
||||||
close(cmdErrorChan)
|
close(cmdErrorChan)
|
||||||
}()
|
}()
|
||||||
|
|
Loading…
Reference in New Issue