1
0
Fork 0
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:
Anurag 2022-05-17 02:41:43 +05:30 committed by GitHub
parent 53adf904d6
commit e8b1e1275a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,7 @@ func GetFunctions() []*FunctionEntry {
},
Handler: jpfCompare,
},
ReturnType: []JpType{JpBool},
ReturnType: []JpType{JpNumber},
},
{
Entry: &gojmespath.FunctionEntry{Name: equalFold,