Skip to content

Fix matchers to align with waiters SEP #3242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 21, 2025
Prev Previous commit
Next Next commit
Rever poller changes
  • Loading branch information
richardwang1124 committed May 5, 2025
commit bb1035d022f6149d7543a9ce2ec59a9a53c27c19
3 changes: 1 addition & 2 deletions gems/aws-sdk-core/lib/aws-sdk-core/waiters/poller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ def acceptor_matches?(acceptor, response)

def matches_path?(acceptor, response)
if response.data
result = JMESPath.search(path(acceptor), response.data)
result == acceptor['expected']
JMESPath.search(path(acceptor), response.data) == acceptor['expected']
else
false
end
Expand Down
Loading