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

core: Avoid NPE on refreshlun call without plugged VMs #849

Merged
merged 2 commits into from
May 21, 2023

Conversation

lszomor
Copy link
Contributor

@lszomor lszomor commented May 19, 2023

Changes introduced with this PR

This patch fixes an NPE when running an unplugged disk's refreshlun command.

In case of refreshing an unplugged disk, the engine throws a NullPointerException. Example: npe.txt

Are you the owner of the code you are sending in, or do you have permission of the owner?

y

@lszomor
Copy link
Contributor Author

lszomor commented May 19, 2023

Hi @bennyz
Thank you for review!
I've noticed the failed builds. It seems like there is a problem running ansible-lint.
Please let me know if I can help resolve this issue.

@lszomor
Copy link
Contributor Author

lszomor commented May 21, 2023

@ahadas Thank you!

lszomor and others added 2 commits May 21, 2023 13:51
Signed-off-by: Laszlo Szomor <laszomor@gmail.com>
Signed-off-by: Arik Hadas <ahadas@redhat.com>
@ahadas
Copy link
Member

ahadas commented May 21, 2023

@lszomor thanks for this contribution!

I've noticed the failed builds. It seems like there is a problem running ansible-lint.
Please let me know if I can help resolve this issue.

I've disabled it for now but filed #851 to fix it - you're welcome to take a look at this issue

@ahadas
Copy link
Member

ahadas commented May 21, 2023

/ost

@ahadas ahadas merged commit 15392d5 into oVirt:master May 21, 2023
4 checks passed
This was referenced May 21, 2023
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.

None yet

2 participants