diff --git a/output/cloud/expv2/flush.go b/output/cloud/expv2/flush.go index e70de7e6b0e..d6dc9f9c866 100644 --- a/output/cloud/expv2/flush.go +++ b/output/cloud/expv2/flush.go @@ -126,7 +126,7 @@ outer: for ; workers != 0; workers-- { err := <-errs - if err != nil && finalErr != nil { + if err != nil && finalErr == nil { finalErr = err } }