Skip to content

Commit

Permalink
chore: some small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rvazarkar committed Aug 30, 2024
1 parent 3f8f147 commit ede7176
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/CommonLib/Processors/ComputerSessionProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ await SendComputerStatus(new CSVComputerStatus {
}

//These are local computer accounts.
if (domain.Equals(computerSamAccountName, StringComparison.CurrentCultureIgnoreCase)) {
if (domain.Equals(computerSamAccountName, StringComparison.OrdinalIgnoreCase)) {
continue;
}

Expand Down
1 change: 1 addition & 0 deletions src/CommonLib/Processors/DomainTrustProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public async IAsyncEnumerable<DomainTrust> EnumerateDomainTrusts(string domain)
}))
{
if (!result.IsSuccess) {
_log.LogWarning("Error during trust enumeration for domain {Domain}: {Error}", domain, result.Error);
yield break;
}

Expand Down

0 comments on commit ede7176

Please sign in to comment.