From fe7e05d53e3150f1d854dc3d6362dc21d4cd7b28 Mon Sep 17 00:00:00 2001 From: David Galey Date: Tue, 18 Nov 2025 14:42:47 -0500 Subject: [PATCH] removing caching of product type list --- .../Models/CertCentralCertType.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/digicert-certcentral-caplugin/Models/CertCentralCertType.cs b/digicert-certcentral-caplugin/Models/CertCentralCertType.cs index ce3882d..7b65c0f 100644 --- a/digicert-certcentral-caplugin/Models/CertCentralCertType.cs +++ b/digicert-certcentral-caplugin/Models/CertCentralCertType.cs @@ -16,7 +16,6 @@ public class CertCentralCertType #region Private Fields private static readonly ILogger Logger = LogHandler.GetClassLogger(); - private static List _allTypes; #endregion Private Fields @@ -62,12 +61,7 @@ public class CertCentralCertType /// public static List GetAllTypes(CertCentralConfig config) { - if (_allTypes == null || !_allTypes.Any()) - { - _allTypes = RetrieveCertCentralCertTypes(config); - } - - return _allTypes; + return RetrieveCertCentralCertTypes(config); } ///