Skip to content

Commit

Permalink
fix: actually set collected to true for local groups/URA
Browse files Browse the repository at this point in the history
  • Loading branch information
rvazarkar committed Oct 12, 2022
1 parent 1ec2397 commit 865b477
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/CommonLib/Processors/LocalGroupProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ public IEnumerable<LocalGroupAPIResult> GetLocalGroups(string computerName, stri
}
}

ret.Collected = true;
ret.LocalNames = names.ToArray();
ret.Results = results.ToArray();
yield return ret;
Expand Down
1 change: 1 addition & 0 deletions src/CommonLib/Processors/UserRightsAssignmentProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ public IEnumerable<UserRightsAssignmentAPIResult> GetUserRightsAssignments(strin
}
}

result.Collected = true;
result.LocalNames = names.ToArray();
result.Results = resolved.ToArray();
yield return result;
Expand Down

0 comments on commit 865b477

Please sign in to comment.