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

Move LRO failure detection to the implementing poller #17758

Merged
merged 1 commit into from
Apr 28, 2022

Conversation

jhendrixMSFT
Copy link
Member

Previously, the Poller.Poll() method was determining when an LRO failed.
While this works for well-known states, it's not extensible. Instead,
the underlying polling implementation should be responsible for
determining if it's reached a terminal state (failure or otherwise).

  • The purpose of this PR is explained in this or a referenced issue.
  • The PR does not update generated files.
  • Tests are included and/or updated for code changes.
  • Updates to CHANGELOG.md are included.
  • MIT license headers are included in each file.

Previously, the Poller.Poll() method was determining when an LRO failed.
While this works for well-known states, it's not extensible.  Instead,
the underlying polling implementation should be responsible for
determining if it's reached a terminal state (failure or otherwise).
@jhendrixMSFT
Copy link
Member Author

This is in preparation for #17743

@jhendrixMSFT jhendrixMSFT merged commit 55c54b4 into Azure:main Apr 28, 2022
@jhendrixMSFT jhendrixMSFT deleted the azcore_poller_state branch April 28, 2022 14:55
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