Skip to content

Commit

Permalink
Fix incorrect rebasing issue: use StepState.GetError() method instead…
Browse files Browse the repository at this point in the history
… of directly accessing internal variables

Signed-off-by: Ilya <[email protected]>
  • Loading branch information
rihter007 committed Aug 7, 2022
1 parent 1052aa9 commit 39a8f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/runner/test_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ func (tr *TestRunner) Run(
ctx.Errorf("Failed to get steps variables: %v", err)
return nil, nil, err
}
stepErr := tr.steps[tgs.CurStep].runErr
stepErr := tr.steps[tgs.CurStep].GetError()
if tgs.CurPhase == targetStepPhaseRun {
numInFlightTargets++
if stepErr != xcontext.ErrPaused {
Expand Down

0 comments on commit 39a8f78

Please sign in to comment.