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

feat(domain): add waiters for registrar API #2416

Merged
merged 4 commits into from
Feb 14, 2025

Conversation

jremy42
Copy link
Contributor

@jremy42 jremy42 commented Feb 12, 2025

No description provided.

@github-actions github-actions bot added the domain Domains issues, bugs and feature requests label Feb 12, 2025
@jremy42 jremy42 changed the title Domain/add waiters for registar api feat(domain): add waiters for registrar API Feb 13, 2025
Comment on lines 275 to 278
if _, isTransient := transientStatuses[resp.AutoRenewStatus]; isTransient {
return resp, false, nil
}
return nil, false, errors.New("unexpected auto_renew status: " + string(resp.AutoRenewStatus))
Copy link
Member

Choose a reason for hiding this comment

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

Regardless of the transient state, it should continue if no terminal status is encountered. A new transient state in the API should not make the waiter fail.

@jremy42 jremy42 force-pushed the domain/add_waiters_for_registar_api branch from 4ce4c46 to 86de12b Compare February 13, 2025 13:30
@remyleone remyleone added this pull request to the merge queue Feb 14, 2025
Merged via the queue into master with commit 140c142 Feb 14, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain Domains issues, bugs and feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants