Skip to content

Commit d1d191d

Browse files
authored
Fix collision with multiple Usage running
Changing the Usage json used to include cloudname to differentiate the usage reports being uploaded
1 parent 3a92cb8 commit d1d191d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

uploadToOMS.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Switch($Authtype)
7777
#
7878
#################################################################################
7979

80-
$usageSummary = Get-Content -Raw -Path "UsageSummary.json" | ConvertFrom-Json
80+
$usageSummary = Get-Content -Raw -Path "UsageSummary_$cloudName2.json" | ConvertFrom-Json
8181
$logType = "Usage"
8282
$deploymentGuid = $info.DeploymentGuid
8383

0 commit comments

Comments
 (0)