Skip to content

Commit

Permalink
fixup! cloudv2: drop waitgroup for a buffer channel
Browse files Browse the repository at this point in the history
  • Loading branch information
mstoykov committed Jul 24, 2023
1 parent 3769dc0 commit a2878f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion output/cloud/expv2/flush.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ outer:

for ; workers != 0; workers-- {
err := <-errs
if err != nil && finalErr != nil {
if err != nil && finalErr == nil {
finalErr = err
}
}
Expand Down

0 comments on commit a2878f7

Please sign in to comment.