Skip to content

Commit

Permalink
switch to case insensitive session host parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
WillyMoselhy committed Oct 7, 2024
1 parent 191e6a2 commit 526b479
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FunctionApp/TimerTrigger1/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ $runningDeployments = Get-SHRRunningDeployment -ResourceGroupName $sessionHostRe
Write-PSFMessage -Level Host -Message "Found {0} running deployments" -StringValues $runningDeployments.Count

# load session host parameters
$sessionHostParameters = (Get-FunctionConfig _SessionHostParameters)
$sessionHostParameters = [hashtable]::new([System.StringComparer]::InvariantCultureIgnoreCase)
$sessionHostParameters += (Get-FunctionConfig _SessionHostParameters)

# Get latest version of session host image
Write-PSFMessage -Level Host -Message "Getting latest image version using Image Reference: {0}" -StringValues ($sessionHostParameters.ImageReference | Out-String)
Expand Down

0 comments on commit 526b479

Please sign in to comment.