mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-10-19 04:47:48 +00:00
fixup! fixup! Further pursue of perfection.
This commit is contained in:
@@ -133,7 +133,7 @@ func (c *JWKCache) GetJWKS(ctx context.Context, jwksURL string, httpClient *http
|
||||
// Cleanup removes expired entries from the JWK cache to free memory.
|
||||
// It delegates to the internal cache's cleanup method.
|
||||
func (c *JWKCache) Cleanup() {
|
||||
if c.internalCache != nil {
|
||||
if c != nil && c.internalCache != nil {
|
||||
c.internalCache.Cleanup()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user