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-1482 | Fix main pod inventory watch NPE #1044

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

mnecas
Copy link
Member

@mnecas mnecas commented Sep 19, 2024

Issue: When the request from main to the inventory pod fails the main pod crashes due to nil pointer.

Fix: Move the request close to case when we get the response body.

@mnecas mnecas requested a review from yaacov as a code owner September 19, 2024 07:04
@codecov-commenter
Copy link

codecov-commenter commented Sep 19, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@650d73d). Learn more about missing BASE report.
Report is 1 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1044   +/-   ##
=======================================
  Coverage        ?   16.25%           
=======================================
  Files           ?      111           
  Lines           ?    19750           
  Branches        ?        0           
=======================================
  Hits            ?     3210           
  Misses          ?    16259           
  Partials        ?      281           
Flag Coverage Δ
unittests 16.25% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Issue: When the request from main to the inventory pod fails
the main pod crashes due to nil pointer.

Fix: Move the request close to case when we get the response body.

Signed-off-by: Martin Necas <[email protected]>
Copy link

Copy link
Member

@yaacov yaacov left a comment

Choose a reason for hiding this comment

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

LGTM

@mnecas mnecas merged commit 1f6902a into kubev2v:main Sep 19, 2024
13 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