Skip to content

Commit

Permalink
Initialize $isAzure (dataplat#7277)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasjordan authored May 5, 2021
1 parent 6be79ae commit 7dbfb51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/Connect-DbaInstance.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,7 @@ function Connect-DbaInstance {
}

# Gracefully handle Azure connections
$isAzure = $false
if ($connstring -match $AzureDomain -or $instance.ComputerName -match $AzureDomain -or $instance.InputObject.ComputerName -match $AzureDomain) {
Write-Message -Level Debug -Message "We are about to connect to Azure"
# so far, this is not evaluating
Expand Down

0 comments on commit 7dbfb51

Please sign in to comment.