Skip to content
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

fix: panic due to potentially uncomparable wrapped fn in express_resolve #2500

Merged
merged 1 commit into from Feb 17, 2024

Conversation

lucix-aws
Copy link
Contributor

@lucix-aws lucix-aws commented Feb 15, 2024

The s3 express changes introduced an interface comparison of CredentialProviders, which is liable to fail on aliased functions that implement that interface (we ourselves expose an alias for this in aws.CredentialsProviderFunc).

I've removed the comparison that guards the express provider cloning entirely. It's ultimately not an expensive copy since the underlying session credential cache is shared.

Closes #2473.

@lucix-aws lucix-aws requested a review from a team as a code owner February 15, 2024 22:23
@lucix-aws lucix-aws merged commit be0accd into main Feb 17, 2024
11 of 12 checks passed
@lucix-aws lucix-aws deleted the fix-expressresolvepanic branch February 17, 2024 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression in service/s3/v1.48.1 with use of CredentialsProviderFunc (panic)
3 participants