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

Release leader for life lock in case pod is preempted. #157

Merged
merged 3 commits into from
Apr 1, 2024
Merged

Release leader for life lock in case pod is preempted. #157

merged 3 commits into from
Apr 1, 2024

Conversation

jagpreetstamber
Copy link
Contributor

@jagpreetstamber jagpreetstamber commented Mar 28, 2024

Description of the change:
Fix for issue #156

Motivation for the change:
Fix for issue #156

@jagpreetstamber jagpreetstamber requested a review from a team as a code owner March 28, 2024 13:58
Signed-off-by: Jagpreet Singh Tamber <jagpreetstamber@gmail.com>
Copy link

codecov bot commented Mar 28, 2024

Codecov Report

Attention: Patch coverage is 77.77778% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 87.44%. Comparing base (8e41bd5) to head (f4b850e).

❗ Current head f4b850e differs from pull request most recent head 719af6b. Consider uploading reports for the commit 719af6b to get more accurate results

Files Patch % Lines
leader/leader.go 77.77% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #157      +/-   ##
==========================================
+ Coverage   81.03%   87.44%   +6.41%     
==========================================
  Files          17       17              
  Lines         485      494       +9     
==========================================
+ Hits          393      432      +39     
+ Misses         82       49      -33     
- Partials       10       13       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

leader/leader.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@everettraven everettraven left a comment

Choose a reason for hiding this comment

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

Thanks @jagpreetstamber for the PR! I had one nit that I left as a comment, but it's more of a suggestion - feel free to make the change or leave as is.

Signed-off-by: Jagpreet Singh Tamber <jagpreetstamber@gmail.com>
Copy link
Collaborator

@everettraven everettraven left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 28, 2024
Signed-off-by: Jagpreet Singh Tamber <jagpreetstamber@gmail.com>
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Mar 28, 2024
Copy link

openshift-ci bot commented Mar 28, 2024

New changes are detected. LGTM label has been removed.

@everettraven everettraven added this pull request to the merge queue Apr 1, 2024
Merged via the queue into operator-framework:main with commit 380bbcc Apr 1, 2024
4 checks passed
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