From f521a76f7b070a1eb939eee90db7f3789c025680 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 20 Nov 2024 17:22:13 -0600 Subject: [PATCH] fix: initialize the close chan (#3608) Signed-off-by: Samantha Coyle --- common/authentication/aws/x509.go | 1 + 1 file changed, 1 insertion(+) diff --git a/common/authentication/aws/x509.go b/common/authentication/aws/x509.go index cb1bafdeb3..52af56d271 100644 --- a/common/authentication/aws/x509.go +++ b/common/authentication/aws/x509.go @@ -96,6 +96,7 @@ func newX509(ctx context.Context, opts Options, cfg *aws.Config) (*x509, error) return GetConfig(opts) }(), clients: newClients(), + closeCh: make(chan struct{}), } if err := auth.getCertPEM(ctx); err != nil {