From 8ff3b509be9d4a451e83c86ab152c00a484fe297 Mon Sep 17 00:00:00 2001 From: Thibault VINCENT Date: Tue, 20 Sep 2022 18:33:21 +0200 Subject: [PATCH] refactor(exporter): remove dead code --- internal/certificate.go | 1 - internal/exporter.go | 1 - 2 files changed, 2 deletions(-) diff --git a/internal/certificate.go b/internal/certificate.go index 382f6e4..a255369 100644 --- a/internal/certificate.go +++ b/internal/certificate.go @@ -59,7 +59,6 @@ type certificateRef struct { path string format certificateFormat certificates []*parsedCertificate - userIDs []string yamlPaths []YAMLCertRef kubeSecret v1.Secret kubeSecretKey string diff --git a/internal/exporter.go b/internal/exporter.go index 68017c2..e67a29d 100644 --- a/internal/exporter.go +++ b/internal/exporter.go @@ -39,7 +39,6 @@ type Exporter struct { kubeClient *kubernetes.Clientset listener net.Listener - handler *http.Handler server *http.Server isDiscovery bool secretsCache *cache.Cache