Fixing the default Scope label for CGW FW Rules
This commit is contained in:
@@ -524,8 +524,8 @@ Function New-NSXTFirewall {
|
||||
}
|
||||
|
||||
$scopeLabels = @()
|
||||
if(! $InfraScope ) {
|
||||
$scopeLabels = @("/infra/labels/$($GatewayType.toLower())")
|
||||
if(!$InfraScope) {
|
||||
$scopeLabels = @("/infra/labels/$($GatewayType.toLower())-all")
|
||||
} else {
|
||||
foreach ($infraScopeName in $InfraScope) {
|
||||
$scope = Get-NSXTInfraScope -Name $infraScopeName
|
||||
|
||||
Reference in New Issue
Block a user