Skip to content

Commit 64520d5

Browse files
authored
Availability is misspelled (#9757)
1 parent ee4e62c commit 64520d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

public/Add-DbaAgDatabase.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -454,14 +454,14 @@ function Add-DbaAgDatabase {
454454
$replicaAgDb.Refresh()
455455
}
456456

457-
# With automatic seeding, .JoinAvailablityGroup() is not needed, just wait for the magic to happen
457+
# With automatic seeding, .JoinAvailabilityGroup() is not needed, just wait for the magic to happen
458458
if ($ag.AvailabilityReplicas[$replicaName].SeedingMode -ne 'Automatic') {
459459
try {
460460
$progress['CurrentOperation'] = "Joining database $($db.Name) on replica $replicaName"
461461
Write-Message -Level Verbose -Message $progress['CurrentOperation']
462462
Write-Progress @progress
463463

464-
$replicaAgDb.JoinAvailablityGroup()
464+
$replicaAgDb.JoinAvailabilityGroup()
465465
} catch {
466466
$failure = $true
467467
Stop-Function -Message "Failed to join database $($db.Name) on replica $replicaName." -ErrorRecord $_ -Continue
@@ -561,4 +561,4 @@ function Add-DbaAgDatabase {
561561
}
562562
Write-Progress @progress -Completed
563563
}
564-
}
564+
}

0 commit comments

Comments
 (0)