Skip to content

Commit

Permalink
Merge pull request #9 from imthiachulu/master
Browse files Browse the repository at this point in the history
Fixed Write-Error for Remove-NSXTFirewall and Remove-NSXTGroup fail
  • Loading branch information
lamw authored Jun 22, 2021
2 parents f63f30e + 2db6ca5 commit b281c24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VMware.VMC.NSXT.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'VMware.VMC.NSXT.psm1'

# Version number of this module.
ModuleVersion = '1.0.10'
ModuleVersion = '1.0.11'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
4 changes: 2 additions & 2 deletions VMware.VMC.NSXT.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ Function Remove-NSXTFirewall {
Write-Host -ForegroundColor Red "`nThe NSX-T Proxy session is no longer valid, please re-run the Connect-NSXTProxy cmdlet to retrieve a new token`n"
break
} else {
Write-Error "Error in creating new NSX-T Firewall Rule"
Write-Error "Error in removing NSX-T Firewall Rule"
Write-Error "`n($_.Exception.Message)`n"
break
}
Expand Down Expand Up @@ -1077,7 +1077,7 @@ Function Remove-NSXTGroup {
Write-Host -ForegroundColor Red "`nThe NSX-T Proxy session is no longer valid, please re-run the Connect-NSXTProxy cmdlet to retrieve a new token`n"
break
} else {
Write-Error "Error in creating new NSX-T Group"
Write-Error "Error in removing NSX-T Group"
Write-Error "`n($_.Exception.Message)`n"
break
}
Expand Down

0 comments on commit b281c24

Please sign in to comment.