Skip to content

Commit 2de808f

Browse files
Test-DbaAvailabilityGroup - Fix bug in error message (#9726)
1 parent 52a6bec commit 2de808f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/Test-DbaAvailabilityGroup.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function Test-DbaAvailabilityGroup {
159159
}
160160

161161
if (-not $db) {
162-
Stop-Function -Message "Database $db is not found on $server." -Continue
162+
Stop-Function -Message "Database [$dbName] is not found on $server." -Continue
163163
}
164164

165165
if ($db.RecoveryModel -ne 'Full') {

0 commit comments

Comments
 (0)