Reconcile Unity commands from daemon facts
This commit is contained in:
parent
824c269001
commit
13e27e5572
8 changed files with 145 additions and 10 deletions
|
|
@ -246,13 +246,9 @@ static async Task PublishCommittedCommandFactsAsync(
|
|||
options.VerseId)).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
var policyRejectedIds = new HashSet<string>(
|
||||
policyRejectedCommandIds ?? Array.Empty<string>(),
|
||||
StringComparer.Ordinal);
|
||||
foreach (var commandId in frame.RejectedCommandIds ?? Array.Empty<string>())
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(commandId) ||
|
||||
!policyRejectedIds.Contains(commandId) ||
|
||||
!byCommandId.TryGetValue(commandId, out var command))
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue