Skip to content

Commit

Permalink
Fix variable types
Browse files Browse the repository at this point in the history
  • Loading branch information
WillyMoselhy committed Aug 14, 2024
1 parent a71b3c7 commit 9296035
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function Get-SHRHostPoolDecision {
param (
# Session hosts to consider
[Parameter()]
$SessionHosts = @(),
[array] $SessionHosts = @(),

# Running deployments
[Parameter()]
Expand Down Expand Up @@ -57,7 +57,7 @@ function Get-SHRHostPoolDecision {
}
}

$sessionHostsToReplace = ($sessionHostsOldAge + $sessionHostsOldVersion) | Select-Object -Property * -Unique
[array] $sessionHostsToReplace = ($sessionHostsOldAge + $sessionHostsOldVersion) | Select-Object -Property * -Unique
Write-PSFMessage -Level Host -Message "Found {0} session hosts to replace in total. {1}" -StringValues $sessionHostsToReplace.Count, ($sessionHostsToReplace.VMName -join ',')

# Good Session Hosts
Expand Down
2 changes: 1 addition & 1 deletion deploy/portal-ui/portal-ui.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"max": 5000,
"label": "Target Number of Session Hosts",
"subLabel": "VMs",
"defaultValue": 2,
"defaultValue": 10,
"showStepMarkers": false,
"toolTip": "The target number of session hosts in the host pool.",
"constraints": {
Expand Down

0 comments on commit 9296035

Please sign in to comment.