We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
execout_walker
1 parent 10084f9 commit 6dd0882Copy full SHA for 6dd0882
1 file changed
orchestrator/execout/execout_walker.go
@@ -306,7 +306,9 @@ func (r *Walker) sendItems(reader execout.FileReader) error {
306
307
s := time.Now()
308
if r.supportBuffering {
309
- return r.buffer.Flush(r.streamOut)
+ if err := r.buffer.Flush(r.streamOut); err != nil {
310
+ return fmt.Errorf("flushing buffer on end of iteration: %w", err)
311
+ }
312
}
313
flushingDuration += time.Since(s)
314
0 commit comments