Skip to content

Commit

Permalink
Gh-3305: Fix to apply OpOptions at OpChain level (#3306)
Browse files Browse the repository at this point in the history
small fix

Co-authored-by: wb36499 <[email protected]>
  • Loading branch information
cn337131 and wb36499 authored Sep 30, 2024
1 parent d3d494e commit 9d4563d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,8 @@ public Features features() {
}

public <T> T execute(final OperationChain<T> opChain) {
// Set options at opChain level
opChain.setOptions(variables.getOperationOptions());
for (final Operation operation : opChain.getOperations()) {
// Set options on operations
operation.setOptions(variables.getOperationOptions());
Expand Down

0 comments on commit 9d4563d

Please sign in to comment.