Skip to content

Commit 7e2f45e

Browse files
Fixes for rebase merges
1 parent 7f96dc4 commit 7e2f45e

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/Certify.Core/Management/CertifyManager/CertifyManager.ManagedCertificates.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Collections.Concurrent;
33
using System.Collections.Generic;
44
using System.Diagnostics;
@@ -273,7 +273,7 @@ private async Task ReportManagedCertificateStatus(ManagedCertificate managedCert
273273
PrimaryContactEmail = (await GetAccountDetails(managedCertificate, allowFailover: false))?.Email,
274274
ManagedSite = reportedCert,
275275
AppName = _isMgtmHubBackend ? "Certify Management Hub" : "Certify Certificate Manager",
276-
AppVersion = Util.GetAppVersion().ToString()
276+
AppVersion = Util.GetAppVersion().ToString(),
277277
IsRemoved = removeReport
278278
};
279279

src/Certify.Shared/Utils/ManagedCertificateLog.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Collections.Concurrent;
33
using System.IO;
44
using Certify.Models.Providers;
@@ -125,7 +125,10 @@ public static void DisposeLoggers()
125125
{
126126
try
127127
{
128-
l?.Dispose();
128+
if (l is IDisposable disposableLogger)
129+
{
130+
disposableLogger?.Dispose();
131+
}
129132
}
130133
catch (Exception ex)
131134
{

0 commit comments

Comments
 (0)