Merge pull request #298 from lamw/master

Fixing DFW URL
This commit is contained in:
Kyle Ruddy
2019-08-07 14:57:57 -04:00
committed by GitHub

View File

@@ -1160,7 +1160,7 @@ Function Get-NSXTDistFirewallSection {
if($PSVersionTable.PSEdition -eq "Core") {
$requests = Invoke-WebRequest -Uri $distFirewallSectionURL -Method $method -Headers $global:nsxtProxyConnection.headers -SkipCertificateCheck
} else {
$requests = Invoke-WebRequest -Uri $distFirdistFirewallSectionURLwallURL -Method $method -Headers $global:nsxtProxyConnection.headers
$requests = Invoke-WebRequest -Uri $distFirewallSectionURL -Method $method -Headers $global:nsxtProxyConnection.headers
}
} catch {
if($_.Exception.Response.StatusCode -eq "Unauthorized") {