From b143e0d606dd2ccce3e23fcd03bcfb2095928b2d Mon Sep 17 00:00:00 2001 From: dekiel Date: Thu, 9 Jan 2025 14:22:56 +0100 Subject: [PATCH] Fix compile error. --- pkg/oidc/oidc_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/oidc/oidc_test.go b/pkg/oidc/oidc_test.go index ff85489667db..2f688a71a4e2 100644 --- a/pkg/oidc/oidc_test.go +++ b/pkg/oidc/oidc_test.go @@ -117,7 +117,9 @@ var _ = Describe("OIDC", func() { When("issuer with empty clientID is provided", func() { It("should return an error", func() { // Empty issuer clientID - trustedIssuers["https://fakedings.dev-gcp.nais.io/fake"].ClientID = "" + issuer := trustedIssuers["https://fakedings.dev-gcp.nais.io/fake"] + issuer.ClientID = "" + trustedIssuers["https://fakedings.dev-gcp.nais.io/fake"] = issuer tokenProcessor, err := tioidc.NewTokenProcessor(logger, trustedIssuers, string(rawToken)) Expect(err).To(HaveOccurred()) @@ -466,4 +468,4 @@ var _ = Describe("OIDC", func() { }) }) }) -}) \ No newline at end of file +})