Skip to content

Commit 7f962e4

Browse files
committed
fix message
1 parent 3763cf7 commit 7f962e4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/tests/scripts/create-subscriptions.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,16 +227,16 @@ if ($resourceProviders.Count -gt 0 -and -not $planOnly) {
227227
Write-Host "Registering $provider for $subscriptionName ($subscriptionId)..." -ForegroundColor Yellow
228228
az provider register --namespace $provider --subscription $subscriptionId --output none --wait
229229
if ($LASTEXITCODE -eq 0) {
230-
Write-Host " Registration initiated: $provider for $subscriptionName" -ForegroundColor Green
230+
Write-Host "Registration succeeded: $provider for $subscriptionName" -ForegroundColor Green
231231
} else {
232-
Write-Host " Failed to register: $provider for $subscriptionName" -ForegroundColor Red
232+
Write-Host "Failed to register: $provider for $subscriptionName" -ForegroundColor Red
233233
}
234234
} else {
235-
Write-Host " Already registered: $provider for $subscriptionName" -ForegroundColor Gray
235+
Write-Host "Already registered: $provider for $subscriptionName" -ForegroundColor Gray
236236
}
237237
}
238238
} else {
239-
Write-Host " Could not get subscription ID for alias: $subscriptionName" -ForegroundColor Red
239+
Write-Host "Could not get subscription ID for alias: $subscriptionName" -ForegroundColor Red
240240
}
241241
} -ThrottleLimit $resourceProviderThrottleLimit
242242

0 commit comments

Comments
 (0)