File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -454,14 +454,14 @@ function Add-DbaAgDatabase {
454
454
$replicaAgDb.Refresh ()
455
455
}
456
456
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
458
458
if ($ag.AvailabilityReplicas [$replicaName ].SeedingMode -ne ' Automatic' ) {
459
459
try {
460
460
$progress [' CurrentOperation' ] = " Joining database $ ( $db.Name ) on replica $replicaName "
461
461
Write-Message - Level Verbose - Message $progress [' CurrentOperation' ]
462
462
Write-Progress @progress
463
463
464
- $replicaAgDb.JoinAvailablityGroup ()
464
+ $replicaAgDb.JoinAvailabilityGroup ()
465
465
} catch {
466
466
$failure = $true
467
467
Stop-Function - Message " Failed to join database $ ( $db.Name ) on replica $replicaName ." - ErrorRecord $_ - Continue
@@ -561,4 +561,4 @@ function Add-DbaAgDatabase {
561
561
}
562
562
Write-Progress @progress - Completed
563
563
}
564
- }
564
+ }
You can’t perform that action at this time.
0 commit comments