From 062c9832a6cdb39bf38ad7a6dad51300a2e9a734 Mon Sep 17 00:00:00 2001 From: Alexander Egorenkov Date: Thu, 1 Oct 2020 13:16:00 +0200 Subject: vm/vmimpl/merger: remove all CRs from output Get rid of all places stripping \r in pkg/report. And adapt all tests. Signed-off-by: Alexander Egorenkov --- pkg/report/linux.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'pkg/report/linux.go') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index c8b6eee82..7d1e77f46 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -304,9 +304,6 @@ func (ctx *linux) findReport(output []byte, oops *oops, startPos int, context st } func (ctx *linux) stripLinePrefix(line []byte, context string, useQuestionable bool) ([]byte, bool) { - if last := len(line) - 1; last >= 0 && line[last] == '\r' { - line = line[:last] - } if context == "" { return line, false } -- cgit mrf-deployment