mirror of
https://github.com/kyverno/kyverno.git
synced 2025-04-16 01:07:14 +00:00
fix: return type changed to bool in jpfCompare fn (#3924)
* return type changed to bool in jpfCompare fn Signed-off-by: Anurag <contact.anurag7@gmail.com> * update functions.go Signed-off-by: Anurag <contact.anurag7@gmail.com> * updated the commit Signed-off-by: Anurag <contact.anurag7@gmail.com> Co-authored-by: Sambhav Kothari <sambhavs.email@gmail.com>
This commit is contained in:
parent
53adf904d6
commit
e8b1e1275a
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ func GetFunctions() []*FunctionEntry {
|
|||
},
|
||||
Handler: jpfCompare,
|
||||
},
|
||||
ReturnType: []JpType{JpBool},
|
||||
ReturnType: []JpType{JpNumber},
|
||||
},
|
||||
{
|
||||
Entry: &gojmespath.FunctionEntry{Name: equalFold,
|
||||
|
|
Loading…
Add table
Reference in a new issue