Skip to content

Commit

Permalink
Updated function call to use named params
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiestephenkerr committed Dec 7, 2023
1 parent 8e05b72 commit a64741e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/Blaise/add_cma_blaise_serverpark.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ try{
$BlaisePassword = $env:ENV_BLAISE_ADMIN_PASSWORD
$BlaiseUserName = $env:ENV_BLAISE_ADMIN_USER

ConfigureCmaServerpark($BlaiseCmaServerPark, $ManagementNode, $ConnectionPort, $BlaiseUserName, $BlaisePassword)
ConfigureCmaServerpark("$($BlaiseCmaServerPark)_APP", $ManagementNode, $ConnectionPort, $BlaiseUserName, $BlaisePassword)
ConfigureCmaServerpark("$($BlaiseCmaServerPark)_ADMIN", $ManagementNode, $ConnectionPort, $BlaiseUserName, $BlaisePassword)
ConfigureCmaServerpark -ServerParkName:$BlaiseCmaServerPark -ManagementNode:$ManagementNode -ConnectionPort:$ConnectionPort -BlaiseUserName:$BlaiseUserName, -BlaisePassword:$BlaisePassword
ConfigureCmaServerpark -ServerParkName:"$($BlaiseCmaServerPark)_APP" -ManagementNode:$ManagementNode -ConnectionPort:$ConnectionPort -BlaiseUserName:$BlaiseUserName, -BlaisePassword:$BlaisePassword
ConfigureCmaServerpark -ServerParkName:"$($BlaiseCmaServerPark)_ADMIN" -ManagementNode:$ManagementNode -ConnectionPort:$ConnectionPort -BlaiseUserName:$BlaiseUserName, -BlaisePassword:$BlaisePassword
}
catch{
Write-Host "Adding and/or configuring CMA server parks failed: $($_.ScriptStackTrace)"
Expand Down

0 comments on commit a64741e

Please sign in to comment.