|
|
@ -106,9 +106,7 @@ func (r *ReleaseTesting) GetPodLogs(out io.Writer, rel *release.Release) error {
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fmt.Fprintf(out, "POD LOGS: %s\n", h.Name)
|
|
|
|
_, err = fmt.Fprintf(out, "POD LOGS: %s\n%s\n", h.Name, string(hookLog))
|
|
|
|
_, err = fmt.Fprint(out, string(hookLog))
|
|
|
|
|
|
|
|
fmt.Fprintln(out)
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return errors.Wrapf(err, "unable to write pod logs for %s", h.Name)
|
|
|
|
return errors.Wrapf(err, "unable to write pod logs for %s", h.Name)
|
|
|
|
}
|
|
|
|
}
|
|
|
|