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

MTV-1775 | Fix not finished task NPE #1274

Merged
merged 1 commit into from
Dec 17, 2024
Merged

Conversation

mnecas
Copy link
Member

@mnecas mnecas commented Dec 17, 2024

Issue:
If the snapshot creation task did not finish the controller fails with NPE. This happens due to the taks not returning the result and we are trying to typcase that result (nil) to the ManagedObject.

Fix:
Add check if the task finished or retry.

Issue:
If the snapshot creation task did not finish the controller fails with
NPE. This happens due to the taks not returning the result and we are
trying to typcase that result (nil) to the ManagedObject.

Fix:
Add check if the task finished or retry.

Signed-off-by: Martin Necas <[email protected]>
@mnecas mnecas requested a review from yaacov as a code owner December 17, 2024 07:57
Copy link

sonarcloud bot commented Dec 17, 2024

@mnecas mnecas merged commit 889b4ac into kubev2v:release-2.7 Dec 17, 2024
10 checks passed
@mnecas mnecas added this to the 2.7.7 milestone Dec 17, 2024
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.

1 participant