Skip to content

Commit

Permalink
Remove unused stepState.setErr function
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya <[email protected]>
  • Loading branch information
rihter007 committed Nov 25, 2021
1 parent 77d4b5f commit 53e21d1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/runner/test_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -509,12 +509,6 @@ func (tr *TestRunner) runStepIfNeeded(ss *stepState) {
})
}

func (ss *stepState) setErr(mu sync.Locker, err error) {
mu.Lock()
defer mu.Unlock()
ss.setErrLocked(err)
}

// setErrLocked sets step runner error unless already set.
func (ss *stepState) setErrLocked(err error) {
if err == nil || ss.runErr != nil {
Expand Down

0 comments on commit 53e21d1

Please sign in to comment.