Skip to content

Commit 8196bfa

Browse files
committed
Fix incorrect rebasing issue: use StepState.GetError() method instead of directly accessing internal variables
Signed-off-by: Ilya <[email protected]>
1 parent 4ae036c commit 8196bfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/runner/test_runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ func (tr *TestRunner) Run(
223223
ctx.Errorf("Failed to get steps variables: %v", err)
224224
return nil, nil, err
225225
}
226-
stepErr := tr.steps[tgs.CurStep].runErr
226+
stepErr := tr.steps[tgs.CurStep].GetError()
227227
if tgs.CurPhase == targetStepPhaseRun {
228228
numInFlightTargets++
229229
if stepErr != xcontext.ErrPaused {

0 commit comments

Comments
 (0)