Skip to content

Commit

Permalink
Fix issue #574
Browse files Browse the repository at this point in the history
  • Loading branch information
tksh164 committed Jan 4, 2025
1 parent 07cf53d commit 8ea17be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/1_wara_collector.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ $Script:Runtime = Measure-Command -Expression {
$Script:SupportedResTypes = @()
$Script:AllResourceTypesOrdered = @()
$Script:AllAdvisories = @()
$Script:Advisories = @()
$Script:AllRetirements = @()
$Script:AllServiceHealth = @()
$Script:results = @()
Expand Down Expand Up @@ -1330,7 +1331,7 @@ $Script:Runtime = Measure-Command -Expression {
$Script:ImpactedResources = $Script:ImpactedResources | Sort-Object -Unique -Property validationAction, recommendationId, name, Type, id, param1, param2, param3, param4, param5, checkName, selector

Write-Host 'Filtering Advisor Resources..' -ForegroundColor Cyan
$Script:Advisories = foreach ($adv in $Script:AllAdvisories) {
$Script:Advisories += foreach ($adv in $Script:AllAdvisories) {
if ($adv.id -in $Script:InScope.id) {
$adv
}
Expand Down

0 comments on commit 8ea17be

Please sign in to comment.