[management] add log when using redis cache (#3562)

This commit is contained in:
Pascal Fischer
2025-03-21 18:16:27 +01:00
committed by GitHub
parent b62a1b56ce
commit f081435a56
5 changed files with 15 additions and 12 deletions

View File

@ -44,7 +44,7 @@ func TestNewIDPCacheManagers(t *testing.T) {
t.Setenv(cache.RedisStoreEnvVar, redisURL)
}
cacheStore, err := cache.NewStore(cache.DefaultIDPCacheExpirationMax, cache.DefaultIDPCacheCleanupInterval)
cacheStore, err := cache.NewStore(context.Background(), cache.DefaultIDPCacheExpirationMax, cache.DefaultIDPCacheCleanupInterval)
if err != nil {
t.Fatalf("couldn't create cache store: %s", err)
}