Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix syntax error
  • Loading branch information
weshaggard committed Oct 8, 2024
commit 95a0d7eb050dac3ce54bfca30a44d11ab796c0c0
2 changes: 1 addition & 1 deletion eng/scripts/live-test-resource-cleanup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ function DeleteAndPurgeGroups([array]$toDelete) {
function Login() {
if ($UseExistingAzContext -and (Get-AzContext)) {
Write-Verbose "Using existing account"
} else if ($PSCmdlet.ParameterSetName -eq "Provisioner" -and $ProvisionerApplicationSecret) {
} elseif ($PSCmdlet.ParameterSetName -eq "Provisioner" -and $ProvisionerApplicationSecret) {
Write-Verbose "Logging in with provisioner"
$provisionerSecret = ConvertTo-SecureString -String $ProvisionerApplicationSecret -AsPlainText -Force
$provisionerCredential = [System.Management.Automation.PSCredential]::new($ProvisionerApplicationId, $provisionerSecret)
Expand Down