kubelet e2e test - format command output as string, not byte string.

pull/6/head
Phillip Wittrock 2016-04-15 15:17:59 -07:00
parent 5155df0287
commit d37222d1d9
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ func (es *e2eService) startServer(cmd *healthCheckCommand) error {
go func() {
err := cmd.Run()
if err != nil {
cmdErrorChan <- fmt.Errorf("%s Exited with status %v. 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)
}()