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

Revert wrong fix in #388 #396

Merged
merged 1 commit into from
Apr 19, 2022
Merged

Revert wrong fix in #388 #396

merged 1 commit into from
Apr 19, 2022

Conversation

ashie
Copy link
Member

@ashie ashie commented Apr 19, 2022

Aws::AssumeRoleCredentials.new and
Aws::AssumeRoleWebIdentityCredentials.new expect a hash argument,
not kwargs. Tests for them were wrong, not the implementation.

https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AssumeRoleCredentials.html#initialize-instance_method
https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AssumeRoleWebIdentityCredentials.html#initialize-instance_metho

Signed-off-by: Takuro Ashie [email protected]

@ashie ashie requested a review from cosmo0920 April 19, 2022 06:35
`Aws::AssumeRoleCredentials.new` and
`Aws::AssumeRoleWebIdentityCredentials.new` expect a hash argument,
not kwargs. Tests for them were wrong, not the implementation.

https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AssumeRoleCredentials.html#initialize-instance_method
https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AssumeRoleWebIdentityCredentials.html#initialize-instance_metho

Signed-off-by: Takuro Ashie <[email protected]>
Copy link
Contributor

@cosmo0920 cosmo0920 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh! I'd overlooked them. Thanks for the quick fix! 👍

@ashie
Copy link
Member Author

ashie commented Apr 19, 2022

Sorry for that...

@ashie ashie merged commit dc4eaf1 into master Apr 19, 2022
@ashie ashie deleted the follow-up-388 branch April 19, 2022 07:04
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.

2 participants