Skip to content

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

Merged
Kirill Ilin (sircthulhu) merged 3 commits into
mainfrom
enhancement/36-update-status-outside-defer
Mar 20, 2024
Merged

Kirill Ilin (sircthulhu) merged 3 commits into
mainfrom
enhancement/36-update-status-outside-defer

Conversation

@sircthulhu

@sircthulhu Kirill Ilin (sircthulhu) commented Mar 19, 2024 •

Copy link
Copy Markdown
Collaborator

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 Kirill Ilin (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
Kirill Ilin (sircthulhu) force-pushed the enhancement/36-update-status-outside-defer branch from bb3904b to e8d85c1 Compare March 20, 2024 05:56
@sircthulhu
Kirill Ilin (sircthulhu) enabled auto-merge (squash) March 20, 2024 16:46

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

lgtm

@sircthulhu
Kirill Ilin (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