Skip to content

Commit a69f557

Browse files
committed
pkg/aflow/action/crash: fix the reversed res.Report/Error
Right now res.Report and res.Error seem reversed. The successful crash report is returned into res.Error, and interrupts the normal flow/pipeline.
1 parent 7c10111 commit a69f557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/aflow/action/crash/reproduce.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func reproduce(ctx *aflow.Context, args ReproduceArgs) (reproduceResult, error)
109109
if err != nil {
110110
return res, err
111111
}
112-
res.Error, res.Report, err = ReproduceCrash(args, workdir)
112+
res.Report, res.Error, err = ReproduceCrash(args, workdir)
113113
return res, err
114114
})
115115
if err != nil {

0 commit comments

Comments
 (0)