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

Allow ChildReconciler to reflect invalid api errors #418

Merged
merged 1 commit into from
Aug 31, 2023
Merged

Allow ChildReconciler to reflect invalid api errors #418

merged 1 commit into from
Aug 31, 2023

Conversation

scothis
Copy link
Contributor

@scothis scothis commented Aug 29, 2023

API errors with an "invalid" response from the server are now passed to ReflectChildStatusOnParent. They can be detected with:

apierrs.IsInvalid(err)

API errors with an "invalid" response from the server are now passed to
ReflectChildStatusOnParent. They can be detected with:

    apierrs.IsInvalid(err)

Signed-off-by: Scott Andrews <andrewssc@vmware.com>
@codecov
Copy link

codecov bot commented Aug 29, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.10% 🎉

Comparison is base (55557b2) 60.62% compared to head (337f7ed) 60.72%.
Report is 1 commits behind head on main.

❗ Current head 337f7ed differs from pull request most recent head b1ccf59. Consider uploading reports for the commit b1ccf59 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #418      +/-   ##
==========================================
+ Coverage   60.62%   60.72%   +0.10%     
==========================================
  Files          24       24              
  Lines        2334     2340       +6     
==========================================
+ Hits         1415     1421       +6     
  Misses        835      835              
  Partials       84       84              
Files Changed Coverage Δ
reconcilers/childset.go 87.87% <ø> (ø)
reconcilers/child.go 84.50% <100.00%> (+0.68%) ⬆️

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

@scothis scothis merged commit 4c2cc52 into vmware-labs:main Aug 31, 2023
4 checks passed
@scothis scothis deleted the invalid-child branch August 31, 2023 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants