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

add rollout switches for waiters #527

Merged
merged 1 commit into from
Jul 19, 2024
Merged

add rollout switches for waiters #527

merged 1 commit into from
Jul 19, 2024

Conversation

lucix-aws
Copy link
Contributor

No description provided.

@lucix-aws lucix-aws requested review from a team as code owners July 17, 2024 19:35
@@ -58,8 +58,16 @@ public Set<Symbol> getAdditionalClientOptions() {
return emptySet();
}

public boolean enabledForService(Model model, ShapeId service) {
Copy link
Contributor

@Madrigal Madrigal Jul 18, 2024

Choose a reason for hiding this comment

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

Why do we return true on both waiters? I see that on aws/aws-sdk-go-v2#2717 we use a public member on waiters2 instead of relying on this interface

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The default is true, SDK v2 is extending both of these hooks to be conditional.

Copy link
Contributor

Choose a reason for hiding this comment

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

ah, I see, AwsWaiters extends from this class and it defines whether it should use this or not.

@lucix-aws lucix-aws merged commit 0d6c804 into main Jul 19, 2024
11 checks passed
@lucix-aws lucix-aws deleted the feat-waiters2rollout branch July 19, 2024 15:15
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.

3 participants