Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

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 <[email protected]>
@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
@scothis scothis deleted the invalid-child branch August 31, 2023 13:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants