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

enh: Update status in reconcile loop, not in defer #41

Merged
merged 3 commits into from
Mar 20, 2024

Conversation

sircthulhu
Copy link
Member

@sircthulhu sircthulhu commented Mar 19, 2024

In case error happens during status update request, reconcile will not be requeued. So, this call should be moved ouside defer function
fixes #36

@sircthulhu sircthulhu added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. enhancement New feature or request labels Mar 19, 2024
@sircthulhu sircthulhu force-pushed the enhancement/36-update-status-outside-defer branch from bb3904b to e8d85c1 Compare March 20, 2024 05:56
@sircthulhu sircthulhu enabled auto-merge (squash) March 20, 2024 16:46
Copy link

@apten-fors apten-fors left a comment

Choose a reason for hiding this comment

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

lgtm

@sircthulhu sircthulhu merged commit 4ebf19e into main Mar 20, 2024
3 checks passed
@sircthulhu sircthulhu deleted the enhancement/36-update-status-outside-defer branch March 20, 2024 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ok-to-test Indicates a non-member PR verified by an org member that is safe to test.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move EtcdCluster update call out of defer function
3 participants