Fixing typo for creating NSX-T GW Firewall

This commit is contained in:
William Lam
2019-01-17 08:07:15 -08:00
parent 59ab2785e3
commit ff3d297e69

View File

@@ -476,7 +476,7 @@ Function New-NSXTFirewall {
$services = @() $services = @()
foreach ($serviceName in $Service) { foreach ($serviceName in $Service) {
if($group -eq "ANY") { if($serviceName -eq "ANY") {
$services = @("ANY") $services = @("ANY")
} else { } else {
$tmp = "/infra/services/$serviceName" $tmp = "/infra/services/$serviceName"