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/netbsd.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/report/netbsd.go') diff --git a/pkg/report/netbsd.go b/pkg/report/netbsd.go index 4a43046c7..f5aab3faf 100644 --- a/pkg/report/netbsd.go +++ b/pkg/report/netbsd.go @@ -32,8 +32,8 @@ func (ctx *netbsd) ContainsCrash(output []byte) bool { return false } -func (ctx *netbsd) Parse(output []byte) (desc string, text []byte, start int, end int, corrupted bool) { - return "", nil, 0, 0, false +func (ctx *netbsd) Parse(output []byte) *Report { + return nil } func (ctx *netbsd) Symbolize(text []byte) ([]byte, error) { -- cgit mrf-deployment