There was an error while loading. Please reload this page.
2 parents 32f9a63 + d7dd9cf commit 4c606f2Copy full SHA for 4c606f2
1 file changed
core/coreconfig/cache/certcache.go
@@ -57,3 +57,7 @@ func (cc *CertCache) Items() map[string]*CertValue {
57
}
58
return cc.cache.Items()
59
60
+
61
+func (cc *CertCache) IsEmpty() bool {
62
+ return cc.cache.IsEmpty() || len(cc.cache.Items()) == 0
63
+}
0 commit comments