Skip to content

Commit

Permalink
fix: corrects the scatter-gather example
Browse files Browse the repository at this point in the history
  • Loading branch information
claymcleod committed Jan 27, 2025
1 parent 0d21e18 commit f593f52
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions design-patterns/scatter-gather/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ workflow run {
call stepA { input: in = file }
}
# Collect the results and perform some joint operation (gather).
call stepB { input: files = files }
# Collect the results from the scatter (gather).
#
# Note that the outputs from `stepA` are automatically coerced
# into an `Array` that you can pass in elsewhere.
call stepB { input: files = stepA.output }
}
```

Expand Down

0 comments on commit f593f52

Please sign in to comment.