Skip to content

Commit 0cae43c

Browse files
committed
Fix the CertificateManagerEventSource event ids
More fixes are coming but this one is required to eventually write an EventListener (as suggested in 8e1e81a)
1 parent b534f92 commit 0cae43c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Shared/CertificateGeneration/CertificateManager.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -853,13 +853,13 @@ public void ExportCertificateStart(string certificate, string path, bool include
853853
[Event(50, Level = EventLevel.Verbose)]
854854
public void WindowsRemoveCertificateFromRootStoreNotFound() => WriteEvent(50, "The certificate was not trusted.");
855855

856-
[Event(50, Level = EventLevel.Verbose)]
856+
[Event(51, Level = EventLevel.Verbose)]
857857
public void CorrectCertificateStateStart(string certificate) => WriteEvent(51, $"Correcting the the certificate state for '{certificate}'");
858858

859-
[Event(51, Level = EventLevel.Verbose)]
859+
[Event(52, Level = EventLevel.Verbose)]
860860
public void CorrectCertificateStateEnd() => WriteEvent(52, "Finished correcting the certificate state");
861861

862-
[Event(52, Level = EventLevel.Error)]
862+
[Event(53, Level = EventLevel.Error)]
863863
public void CorrectCertificateStateError(string error) => WriteEvent(53, $"An error has ocurred while correcting the certificate state: {error}.");
864864

865865
[Event(54, Level = EventLevel.Verbose)]

0 commit comments

Comments
 (0)