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

Capture resourceType GVK in logs for duck types #430

Merged
merged 1 commit into from
Sep 6, 2023
Merged

Capture resourceType GVK in logs for duck types #430

merged 1 commit into from
Sep 6, 2023

Conversation

scothis
Copy link
Contributor

@scothis scothis commented Sep 6, 2023

Reconcilers using duck type will now include the correct resourceType metadata in logs. Previously it was an empty GVK.

Reconcilers using duck type will now include the correct resourceType
metadata in logs. Previously it was an empty GVK.

Signed-off-by: Scott Andrews <[email protected]>
@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

Patch coverage: 63.63% and project coverage change: -0.08% ⚠️

Comparison is base (ce2ead6) 60.89% compared to head (7f2b6ab) 60.81%.

❗ Current head 7f2b6ab differs from pull request most recent head 41a88b6. Consider uploading reports for the commit 41a88b6 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #430      +/-   ##
==========================================
- Coverage   60.89%   60.81%   -0.08%     
==========================================
  Files          26       26              
  Lines        2514     2514              
==========================================
- Hits         1531     1529       -2     
- Misses        896      897       +1     
- Partials       87       88       +1     
Files Changed Coverage Δ
reconcilers/childset.go 87.87% <0.00%> (ø)
reconcilers/aggregate.go 60.83% <50.00%> (ø)
reconcilers/child.go 84.50% <50.00%> (ø)
reconcilers/resource.go 74.09% <50.00%> (ø)
reconcilers/cast.go 75.00% <100.00%> (ø)
reconcilers/reconcilers.go 71.84% <100.00%> (-1.95%) ⬇️

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

@scothis scothis merged commit d577e94 into vmware-labs:main Sep 6, 2023
1 check passed
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.

2 participants