Closed blampe closed 1 month ago
Looking good! No breaking changes found. No new resources/functions.
Attention: Patch coverage is 66.66667%
with 1 lines
in your changes are missing coverage. Please review.
Project coverage is 29.09%. Comparing base (
13c87c6
) to head (513e9cc
).
Files | Patch % | Lines |
---|---|---|
provider/pkg/clients/cache.go | 66.66% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The fake DynamicClientSet will currently panic in situations that require the CRD cache because we weren't initializing a cache in the fake's constructor.
The cache already works well as a zero value, and we don't currently need any alternative implementations, so we can remove the exported interface in favor of the concrete struct.
This fixes the fake client because we now no longer need to initialize a cache -- every
DynamicClientSet
comes with a usable zero-valueCRDCache{}
.