Skip to content

Commit b571492

Browse files
author
Brandon Olin
committed
Use correct property name
1 parent 04f9d5c commit b571492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NetScaler/Public/Remove-NSLBMonitor.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function Remove-NSLBMonitor {
6262
try {
6363
$m = Get-NSLBMonitor -Session $Session -Name $item
6464
$params = @{
65-
type = $m.lbmonitor.type
65+
type = $m.type
6666
}
6767
_InvokeNSRestApi -Session $Session -Method DELETE -Type lbmonitor -Resource $item -Arguments $params -Action delete
6868
} catch {

0 commit comments

Comments
 (0)