Skip to content

Commit

Permalink
Search-TssEventPipeline - correct PipelineName filter not working
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmelton committed Oct 27, 2021
1 parent 45f3fb4 commit 8849345
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/functions/event-pipeline/Search-TssEventPipeline.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ function Search-TssEventPipeline {
$PipelinePolicyId,

# Event Pipeline Name
[Parameter()]
[string]
$PipelineName,

Expand Down Expand Up @@ -75,7 +74,7 @@ function Search-TssEventPipeline {
$filters = @()
switch ($tssParams.Keys) {
'PipelineId' { $filters += "filter.eventPipelineId=$PipelineId" }
'PolicyName' { $fiters += "filter.eventPipelinePolicyName=$PolicyName" }
'PipelineName' { $filters += "filter.eventPipelineName=$PipelineName" }
'EventEntityType' { $filters += "filter.eventEntityTypeId=$EventEntityType"}
'IncludeInactive' { $filters += "filter.includeInactive=$([boolean]$IncludeInactive)" }
'ExcludeActive' { $filters += "filter.includeActive=$([boolean]$ExcludeActive)" }
Expand Down

0 comments on commit 8849345

Please sign in to comment.