Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Add condition about running async operation #186

Merged
merged 2 commits into from
Jan 6, 2022

Conversation

vaspahomov
Copy link
Contributor

Signed-off-by: vaspahomov vas2142553@gmail.com

Description of your changes

Added condition that notifies users about async operation is not finished yet.

Fixes #110

I have:

  • Read and followed Crossplane's [contribution process].
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

Signed-off-by: vaspahomov <vas2142553@gmail.com>
Copy link
Member

@muvaf muvaf left a comment

Choose a reason for hiding this comment

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

Looking pretty good, I have only one comment regarding naming of the condition.

Comment on lines 29 to 30
TypeAsyncOperation = "AsyncOperation"
TypeAsyncOperationFinished = "AsyncOperationFinished"
Copy link
Member

Choose a reason for hiding this comment

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

Maybe AsyncOperation for the ongoing one and LastAsyncOperation for the result of the finished one?

@muvaf
Copy link
Member

muvaf commented Jan 6, 2022

@vaspahomov Sorry for late review. We're planning a wave of releases starting with Terrajet. We can include this change if we can get it merged before EOD.

Signed-off-by: vaspahomov <vas2142553@gmail.com>
@vaspahomov vaspahomov changed the title Add condition about running async condition Add condition about running async operation Jan 6, 2022
Copy link
Member

@muvaf muvaf left a comment

Choose a reason for hiding this comment

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

Thanks @vaspahomov ! Have you got around to test this manually? Test section of the PR description seems missing.

@muvaf muvaf merged commit 37601a9 into crossplane:main Jan 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Let the user know that there is an ongoing operation during async operations
2 participants