We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67ffc6f commit 0f702f9Copy full SHA for 0f702f9
src/StorageGRID-Webscale.psm1
@@ -7012,7 +7012,7 @@ function Global:Add-SgwContainerReplicationRule {
7012
}
7013
7014
if ($DestinationBucket) {
7015
- $DestinationUrn = Get-SgwEndpoints | Where-Object { $_.endpointURN -match ":$DestinationBucket$" } | Select-Object -ExpandProperty endpointURN -First 1
+ $DestinationUrn = Get-SgwEndpoints -Server $Server | Where-Object { $_.endpointURN -match ":$DestinationBucket$" } | Select-Object -ExpandProperty endpointURN -First 1
7016
7017
7018
if (($ReplicationRules | Where-Object { $_.Id -eq $Id })) {
0 commit comments