Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
Updated new-wttenvironment.
Browse files Browse the repository at this point in the history
  • Loading branch information
meyergm committed Apr 4, 2016
1 parent 09ab0a3 commit d76e9a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Powershell/New-WTTEnvironment.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ function New-WTTEnvironment
if($result -eq $null)
{
WriteError("Customer1 Database is not deployed")
Remove-AzureRmSqlDatabase -ServerName $azureSqlDatabaseServerPrimaryName -DatabaseName $AzureSqlDatabaseName -Force -ErrorAction SilentlyContinue
Remove-AzureRmSqlDatabase -ResourceGroupName $azureResourceGroupName -ServerName $azureSqlDatabaseServerPrimaryName -DatabaseName $AzureSqlDatabaseName -Force -ErrorAction SilentlyContinue
$dbExists = $false
}
else
Expand Down Expand Up @@ -482,7 +482,7 @@ function New-WTTEnvironment
if([string]$result -eq $null)
{
WriteError("Customer2 Database is not deployed")
Remove-AzureRmSqlDatabase -ServerName $azureSqlDatabaseServerPrimaryName -DatabaseName "Customer2" -Force -ErrorAction SilentlyContinue
Remove-AzureRmSqlDatabase -ResourceGroupName $azureResourceGroupName -ServerName $azureSqlDatabaseServerPrimaryName -DatabaseName "Customer2" -Force -ErrorAction SilentlyContinue
$dbExists = $false
}
else
Expand Down

0 comments on commit d76e9a0

Please sign in to comment.