Skip to content

Commit

Permalink
Merge pull request #64 from EdneiMonteiro/fix-diagram
Browse files Browse the repository at this point in the history
Adjustment in resource parameter serialization
  • Loading branch information
ClaudioMerola authored May 12, 2022
2 parents 843f7fa + 6f21e84 commit 45201c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AzureResourceInventory.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ param ($TenantID, [switch]$SecurityCenter, $SubscriptionID, $Appid, $Secret, $Re

$ScriptBlock = [Scriptblock]::Create($ModuSeq)

$DrawRun = ([PowerShell]::Create()).AddScript($ScriptBlock).AddArgument($($args[1])).AddArgument($($args[2])).AddArgument($($args[3])).AddArgument($($args[4]))
$DrawRun = ([PowerShell]::Create()).AddScript($ScriptBlock).AddArgument($($args[1])).AddArgument($($args[2] | ConvertFrom-Json)).AddArgument($($args[3])).AddArgument($($args[4]))

$DrawJob = $DrawRun.BeginInvoke()

Expand All @@ -739,7 +739,7 @@ param ($TenantID, [switch]$SecurityCenter, $SubscriptionID, $Appid, $Secret, $Re

$DrawRun.Dispose()

} -ArgumentList $PSScriptRoot, $Subscriptions, $Resources, $Advisories, $DDFile, $RunOnline, $Repo, $RawRepo | Out-Null
} -ArgumentList $PSScriptRoot, $Subscriptions, ($Resources | ConvertTo-Json -Depth 50), $Advisories, $DDFile, $RunOnline, $Repo, $RawRepo | Out-Null
}

<######################################################### VISIO DIAGRAM JOB ######################################################################>
Expand Down

0 comments on commit 45201c3

Please sign in to comment.