Skip to content

Commit

Permalink
Minor performance optimization (#2973)
Browse files Browse the repository at this point in the history
  • Loading branch information
alextwoods authored Jan 9, 2024
1 parent 60d37cc commit 4e9f387
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions gems/aws-sdk-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Unreleased Changes
------------------

* Issue - Minor performance optimization.

3.190.1 (2023-12-20)
------------------

Expand Down
2 changes: 1 addition & 1 deletion gems/aws-sdk-core/lib/aws-sdk-core/waiters/poller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def matches_status?(acceptor, response)

def matches_error?(acceptor, response)
Aws::Errors::ServiceError === response.error &&
response.error.code == acceptor['expected'].gsub('.', '')
response.error.code == acceptor['expected'].delete('.')
end

def path(acceptor)
Expand Down

0 comments on commit 4e9f387

Please sign in to comment.