audit work, fixed StellaOps.sln warnings/errors, fixed tests, sprints work, new advisories
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Immutable;
|
||||
using System.Globalization;
|
||||
|
||||
namespace StellaOps.Policy.Exceptions.Models;
|
||||
|
||||
@@ -255,8 +256,8 @@ public sealed record ExceptionEvent
|
||||
NewVersion = newVersion,
|
||||
Description = reason ?? $"Exception extended from {previousExpiry:O} to {newExpiry:O}",
|
||||
Details = ImmutableDictionary<string, string>.Empty
|
||||
.Add("previous_expiry", previousExpiry.ToString("O"))
|
||||
.Add("new_expiry", newExpiry.ToString("O")),
|
||||
.Add("previous_expiry", previousExpiry.ToString("O", CultureInfo.InvariantCulture))
|
||||
.Add("new_expiry", newExpiry.ToString("O", CultureInfo.InvariantCulture)),
|
||||
ClientInfo = clientInfo
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user