Skip to content

Commit

Permalink
Merge pull request #227 from joel74/fix-irule-definition
Browse files Browse the repository at this point in the history
Fixing collision with Definition property
  • Loading branch information
joel74 authored Jul 11, 2023
2 parents 2c0470e + b13c7a2 commit 9895444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion F5-LTM/Public/Get-iRule.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
if(![string]::IsNullOrWhiteSpace($Application) -and ![string]::IsNullOrWhiteSpace($Partition)) {
$items = $items | Where-Object {$_.fullPath -eq "/$($_.partition)/$Application.app/$($_.name)"}
}
$items | Add-ObjectDetail -TypeName 'PoshLTM.iRule' | Add-Member -MemberType AliasProperty -Name Definition -Value apiAnonymous;
$items | Add-ObjectDetail -TypeName 'PoshLTM.iRule' | Add-Member -MemberType AliasProperty -Name iRuleContent -Value apiAnonymous;
$items
}
}
Expand Down

0 comments on commit 9895444

Please sign in to comment.