for index, integration := range drivers {
workers.Go(func() {
- results <- driverResult{index: index, err: integration.Run(ctx)}
+ results <- driverResult{
+ index: index,
+ err: integration.Run(ctx),
+ }
})
}
return errors.Join(failures...)
}
-type driverResult struct {
- index int
- err error
-}
-
func stopOnly(err error, cancellation error) bool {
joined, ok := err.(interface{ Unwrap() []error })
if ok {