Skip to content

Commit

Permalink
use right error variable
Browse files Browse the repository at this point in the history
  • Loading branch information
camdencheek committed Jan 19, 2024
1 parent 5eb68f8 commit f859a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pool/error_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (p *ErrorPool) Wait() error {
} else if p.onlyFirstError {
return errs[0]
} else {
return errors.Join(p.errs...)
return errors.Join(errs...)
}
}

Expand Down

0 comments on commit f859a17

Please sign in to comment.