mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-06-05 22:44:17 +00:00
Memleak fixes.
This commit is contained in:
@@ -149,6 +149,11 @@ type MockJWKCache struct {
|
||||
Err error
|
||||
}
|
||||
|
||||
// Close is a no-op for the mock.
|
||||
func (m *MockJWKCache) Close() {
|
||||
// No operation needed for the mock.
|
||||
}
|
||||
|
||||
func (m *MockJWKCache) GetJWKS(ctx context.Context, jwksURL string, httpClient *http.Client) (*JWKSet, error) {
|
||||
return m.JWKS, m.Err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user