From 3c49794bf7d0a0c24127dc56b4f543976de279e8 Mon Sep 17 00:00:00 2001 From: Rob Ferguson Date: Fri, 18 Oct 2024 14:08:36 -0500 Subject: [PATCH] explicitly set null --- src/pepr/operator/controllers/keycloak/authservice/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pepr/operator/controllers/keycloak/authservice/config.ts b/src/pepr/operator/controllers/keycloak/authservice/config.ts index b1d5ea59b..958359347 100644 --- a/src/pepr/operator/controllers/keycloak/authservice/config.ts +++ b/src/pepr/operator/controllers/keycloak/authservice/config.ts @@ -10,7 +10,7 @@ import { Client } from "../types"; import { buildChain, log } from "./authservice"; import { Action, AuthserviceConfig } from "./types"; -let pendingSecretFetch: Promise | null; +let pendingSecretFetch: Promise | null = null; // Cache for in-memory secret to avoid unnecessary Kubernetes secret lookups let inMemorySecret: AuthserviceConfig | null = null;