From bda5a5a276ca016a4861ca53489203f5b14722f5 Mon Sep 17 00:00:00 2001 From: William Lam Date: Mon, 18 Mar 2019 13:39:52 -0700 Subject: [PATCH] Fixing the default Scope label for CGW FW Rules --- Modules/VMware.VMC.NSXT/VMware.VMC.NSXT.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/VMware.VMC.NSXT/VMware.VMC.NSXT.psm1 b/Modules/VMware.VMC.NSXT/VMware.VMC.NSXT.psm1 index eb54158..fcfbe3c 100644 --- a/Modules/VMware.VMC.NSXT/VMware.VMC.NSXT.psm1 +++ b/Modules/VMware.VMC.NSXT/VMware.VMC.NSXT.psm1 @@ -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