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

managed reconciler: set deleting and creating conditions before calling respective functions #242

Merged
merged 1 commit into from
Feb 12, 2021

Conversation

muvaf
Copy link
Member

@muvaf muvaf commented Feb 11, 2021

Description of your changes

We set these conditions in ExternalClient implementations but they are easy to forget and there isn't a scenario I can think of that we'd not want to set them.
I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Unit tests.

…ng respective external functions

Signed-off-by: Muvaffak Onus <[email protected]>
@muvaf muvaf requested a review from negz February 11, 2021 11:06
@negz
Copy link
Member

negz commented Feb 11, 2021

I think originally the idea behind letting the ExternalClients handle this was because I speculated that concepts like "deleting" and "creating" might have different names for some resources (e.g. "provisioning"). In practice that hasn't really been the case so this seems reasonable.

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