From e0375d3ee6513d1f62873c119bc2860ba8adab07 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Fri, 1 Dec 2017 15:44:26 +0100 Subject: pkg/report: return raw log in Report.Output --- pkg/report/linux.go | 2 +- pkg/report/report.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index 8d96c3903..c64a087e8 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -81,7 +81,7 @@ func (ctx *linux) ContainsCrash(output []byte) bool { func (ctx *linux) Parse(output []byte) *Report { rep := &Report{ - Output: ctx.extractConsoleOutput(output), + Output: output, } var oops *oops var textPrefix [][]byte diff --git a/pkg/report/report.go b/pkg/report/report.go index 4b7d52804..68e83e9e0 100644 --- a/pkg/report/report.go +++ b/pkg/report/report.go @@ -31,7 +31,7 @@ type Report struct { Title string // Report contains whole oops text. Report []byte - // Output contains whole raw kernel output. + // Output contains whole raw console output as passed to Reporter.Parse. Output []byte // StartPos/EndPos denote region of output with oops message(s). StartPos int -- cgit mrf-deployment