-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[release-1.3] [bugFix]: Fix panic in virt-handler when process is not found during CPU housekeeping #13231
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-1.3] [bugFix]: Fix panic in virt-handler when process is not found during CPU housekeeping #13231
Conversation
…eeping The FindProcess function from go-ps pkg returns nil without error if a process isn't found, but our code incorrectly assumes an error. This commit adds a check to ensure the process is not nil before invoking its methods, preventing the panic. Signed-off-by: bmordeha <bmordeha@redhat.com>
/lgtm |
/hold |
/unhold |
@xpivarc ping |
Pull requests that are marked with After that period the bot marks them with the label /label needs-approver-review |
@xpivarc gentle ping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: xpivarc The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@kubevirt-bot: The following test failed, say
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
/remove-label needs-approver-review |
This is an automated cherry-pick of #13216
/assign xpivarc