Skip to content

Commit

Permalink
Update pkg/reconciler/pipelinerun/resources/pipelinerunresolution.go
Browse files Browse the repository at this point in the history
Co-authored-by: Jerop Kipruto <[email protected]>
  • Loading branch information
Yongxuanzhang and jerop authored Oct 23, 2023
1 parent 8945df9 commit 61cdfa7
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,7 @@ func (t *ResolvedPipelineTask) EvaluateCEL() error {
if err != nil {
return err
}
if out.ConvertToType(types.BoolType).Value() == true {
t.EvaluatedCEL[we.CEL] = true
} else {
t.EvaluatedCEL[we.CEL] = false
}
t.EvaluatedCEL[we.CEL] = out.ConvertToType(types.BoolType).Value()
}
}
}
Expand Down

0 comments on commit 61cdfa7

Please sign in to comment.