aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/instance/instance.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/instance/instance.go')
-rw-r--r--pkg/instance/instance.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/instance/instance.go b/pkg/instance/instance.go
index 794d4484f..92c6d1353 100644
--- a/pkg/instance/instance.go
+++ b/pkg/instance/instance.go
@@ -264,7 +264,7 @@ func (inst *inst) test() error {
rep := inst.reporter.Parse(testErr.Output)
if rep != nil && rep.Type == report.UnexpectedReboot {
// Avoid detecting any boot crash as "unexpected kernel reboot".
- rep = inst.reporter.Parse(testErr.Output[rep.SkipPos:])
+ rep = inst.reporter.ParseFrom(testErr.Output, rep.SkipPos)
}
if rep == nil {
rep = &report.Report{