From 7a53e7e35da7468b5a6291fa3b5e1db4bcdf402f Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 14 Nov 2017 09:41:55 +0100 Subject: pkg/report: combine report data into a struct Parse returns 5 variables now. Later we may want to add crash "priority". Introduce Report struct that holds all report data. --- pkg/report/fuchsia.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/report/fuchsia.go') diff --git a/pkg/report/fuchsia.go b/pkg/report/fuchsia.go index c68291e9e..0d529a1d5 100644 --- a/pkg/report/fuchsia.go +++ b/pkg/report/fuchsia.go @@ -31,7 +31,7 @@ func (ctx *fuchsia) ContainsCrash(output []byte) bool { panic("not implemented") } -func (ctx *fuchsia) Parse(output []byte) (desc string, text []byte, start int, end int, corrupted bool) { +func (ctx *fuchsia) Parse(output []byte) *Report { panic("not implemented") } -- cgit mrf-deployment