Update dependencies (#5518)
This commit is contained in:
3
vendor/github.com/open-policy-agent/opa/ast/strings.go
generated
vendored
3
vendor/github.com/open-policy-agent/opa/ast/strings.go
generated
vendored
@@ -11,5 +11,8 @@ import (
|
||||
|
||||
// TypeName returns a human readable name for the AST element type.
|
||||
func TypeName(x interface{}) string {
|
||||
if _, ok := x.(*lazyObj); ok {
|
||||
return "object"
|
||||
}
|
||||
return strings.ToLower(reflect.Indirect(reflect.ValueOf(x)).Type().Name())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user