We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 86fe72e + 90955a9 commit 780f60fCopy full SHA for 780f60f
pkg/cdi/default-cache.go
@@ -44,12 +44,12 @@ func GetDefaultCache() *Cache {
44
45
// Configure applies options to the default CDI cache. Updates and refreshes
46
// the default cache if options are not empty.
47
-func Configure(options ...Option) {
+func Configure(options ...Option) error {
48
cache, created := getOrCreateDefaultCache(options...)
49
if len(options) == 0 || created {
50
- return
+ return nil
51
}
52
- cache.Configure(options...)
+ return cache.Configure(options...)
53
54
55
// Refresh explicitly refreshes the default CDI cache instance.
0 commit comments