Skip to content

Commit fe7e05d

Browse files
committed
removing caching of product type list
1 parent 19fae71 commit fe7e05d

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

digicert-certcentral-caplugin/Models/CertCentralCertType.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public class CertCentralCertType
1616
#region Private Fields
1717

1818
private static readonly ILogger Logger = LogHandler.GetClassLogger<CertCentralCertType>();
19-
private static List<CertCentralCertType> _allTypes;
2019

2120
#endregion Private Fields
2221

@@ -62,12 +61,7 @@ public class CertCentralCertType
6261
/// <returns></returns>
6362
public static List<CertCentralCertType> GetAllTypes(CertCentralConfig config)
6463
{
65-
if (_allTypes == null || !_allTypes.Any())
66-
{
67-
_allTypes = RetrieveCertCentralCertTypes(config);
68-
}
69-
70-
return _allTypes;
64+
return RetrieveCertCentralCertTypes(config);
7165
}
7266

7367
/// <summary>

0 commit comments

Comments
 (0)