Skip to content

Commit

Permalink
Return type of ds.checks is 'any'
Browse files Browse the repository at this point in the history
  • Loading branch information
ronenh committed Nov 26, 2024
1 parent 467a0eb commit 462c8d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtins/edge/ds/checks.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
func RegisterChecks(logger *zerolog.Logger, fnName string, dr resolvers.DirectoryResolver) (*rego.Function, rego.Builtin1) {
return &rego.Function{
Name: fnName,
Decl: types.NewFunction(types.Args(types.A), types.B),
Decl: types.NewFunction(types.Args(types.A), types.A),
Memoize: true,
},
func(bctx rego.BuiltinContext, op1 *ast.Term) (*ast.Term, error) {
Expand Down

0 comments on commit 462c8d8

Please sign in to comment.