[HTTPS] Fix the CertificateManagerEventSource event ids (#24519)

This commit is contained in:
Cédric Luthi 2020-08-03 16:30:52 +02:00 committed by GitHub
parent 404d817677
commit 749450ac7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -853,13 +853,13 @@ namespace Microsoft.AspNetCore.Certificates.Generation
[Event(50, Level = EventLevel.Verbose)]
public void WindowsRemoveCertificateFromRootStoreNotFound() => WriteEvent(50, "The certificate was not trusted.");
[Event(50, Level = EventLevel.Verbose)]
[Event(51, Level = EventLevel.Verbose)]
public void CorrectCertificateStateStart(string certificate) => WriteEvent(51, $"Correcting the the certificate state for '{certificate}'");
[Event(51, Level = EventLevel.Verbose)]
[Event(52, Level = EventLevel.Verbose)]
public void CorrectCertificateStateEnd() => WriteEvent(52, "Finished correcting the certificate state");
[Event(52, Level = EventLevel.Error)]
[Event(53, Level = EventLevel.Error)]
public void CorrectCertificateStateError(string error) => WriteEvent(53, $"An error has ocurred while correcting the certificate state: {error}.");
[Event(54, Level = EventLevel.Verbose)]