Closed marquiz closed 10 months ago
Drop the unused (always nil) error returned by NewCache(). This eliminate some unreachable error paths in the code.
NOTE: This change changes the exported API of "pkg/cdi" package as the prototype of NewCache() changes.
Thanks for the reviews. I got stuck pondering that if we change the cache API should we change registry API correspondingly, or not?
Drop the unused (always nil) error returned by NewCache(). This eliminate some unreachable error paths in the code.